Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A080734
a(1)=1, then a(n)=a(n-1)+2 if the final decimal digit of a(n) is 0, a(n)=a(n-1)+3 otherwise.
0
1, 4, 7, 10, 12, 15, 18, 21, 24, 27, 30, 32, 35, 38, 41, 44, 47, 50, 52, 55, 58, 61, 64, 67, 70, 72, 75, 78, 81, 84, 87, 90, 92, 95, 98, 101, 104, 107, 110, 112, 115, 118, 121, 124, 127, 130, 132, 135, 138, 141, 144, 147, 150, 152, 155, 158, 161, 164, 167, 170, 172
OFFSET
1,2
FORMULA
7*a(n)-20*n is a periodic sequence with period (12, 11, 10, 16, 15, 14, 13, 12, 11, 10, 16, 15, 14, 13) of length 14.
CROSSREFS
Sequence in context: A184911 A103762 A186226 * A310676 A320929 A104280
KEYWORD
nonn,base
AUTHOR
Benoit Cloitre, Mar 08 2003
STATUS
approved