

A079355


a(1) = 1; a(n) = a(n1)3 if n is already in the sequence, a(n) = a(n1)+4 otherwise.


1



1, 5, 9, 13, 10, 14, 18, 22, 19, 16, 20, 24, 21, 18, 22, 19, 23, 20, 17, 14, 11, 8, 5, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 35, 32, 36, 40, 37, 41, 38, 35, 39, 43, 47, 51, 55, 52, 56, 60, 64, 61, 58, 62, 66, 63, 60, 64, 61, 65, 62, 59, 56, 53, 50, 47, 44, 48, 52, 56, 60, 64, 68
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS

Table of n, a(n) for n=1..72.


FORMULA

a(n) = n+b(n)22 where b(n) is the 42periodic sequence (22, 25, 28, 31, 27, 30, 33, 36, 32, 28, 31, 34, 30, 26, 29, 25, 28, 24, 20, 16, 12, 8, 4, 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 23, 19, 22, 25, 21, 24, 20, 16, 19)


CROSSREFS

Cf. A079357.
Sequence in context: A277617 A103703 A143706 * A080781 A079357 A080455
Adjacent sequences: A079352 A079353 A079354 * A079356 A079357 A079358


KEYWORD

nonn,hear


AUTHOR

Benoit Cloitre, Feb 14 2003


STATUS

approved



