

A170952


Take the Cantor set sequence A121153 and if the entry m = A121153(n) is in the range 3^k <= m < 3^(k+1), subtract 3^k from it.


3



0, 0, 1, 0, 1, 3, 4, 0, 1, 3, 9, 12, 13, 0, 1, 3, 9, 10, 27, 36, 39, 40, 0, 1, 3, 9, 27, 30, 81, 85, 108, 117, 120, 121, 0, 1, 3, 9, 27, 28, 81, 90, 91, 220, 243, 255, 307, 324, 351, 360, 363, 364, 0, 1, 3, 9, 27, 81, 84, 175, 243, 270, 273, 625, 660, 729, 733, 765, 921, 972, 1053
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,6


LINKS

N. J. A. Sloane, Table of n, a(n) for n=1..179


EXAMPLE

If written as a triangle:
0,
0, 1,
0, 1, 3, 4,
0, 1, 3, 9, 12, 13,
0, 1, 3, 9, 10, 27, 36, 39, 40,
0, 1, 3, 9, 27, 30, 81, 85, 108, 117, 120, 121,
0, 1, 3, 9, 27, 28, 81, 90, 91, 220, 243, 255, 307, 324, 351, 360, 363, 364,
0, 1, 3, 9, 27, 81, 84, 175, 243, 270, 273, 625, 660, 729, 733, 765, 921, 972, 1053, 1080, 1089, 1092, 1093,
...


CROSSREFS

Cf. A121153, A170943, A170944, A170951.
Sequence in context: A096088 A107681 A021298 * A194587 A175646 A324362
Adjacent sequences: A170949 A170950 A170951 * A170953 A170954 A170955


KEYWORD

nonn,tabf


AUTHOR

J. H. Conway, T. D. Noe and N. J. A. Sloane, Feb 22 2010


STATUS

approved



