login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A163481
Row 0 of A163336 (column 0 of A163334).
4
0, 5, 6, 47, 48, 53, 54, 59, 60, 425, 426, 431, 432, 437, 438, 479, 480, 485, 486, 491, 492, 533, 534, 539, 540, 545, 546, 3827, 3828, 3833, 3834, 3839, 3840, 3881, 3882, 3887, 3888, 3893, 3894, 3935, 3936, 3941, 3942, 3947, 3948, 4313, 4314, 4319
OFFSET
0,2
FORMULA
From Kevin Ryde, Oct 06 2020: (Start)
a(n) = A163332(A208665(n)), including at n=0 by reckoning A208665(0)=0.
a(n) = 3*A163480(n) + (2 if n odd).
(End)
PROG
(PARI) a(n) = my(v=digits(n, 3), s=Mod(0, 2)); for(i=1, #v, s+=v[i]; v[i]=3*v[i]+if(s, 2)); fromdigits(v, 9); \\ Kevin Ryde, Oct 06 2020
CROSSREFS
Cf. A163480 (X axis), A208665 (Z-order Y axis).
Sequence in context: A299168 A219516 A273050 * A298376 A269908 A157805
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 29 2009
STATUS
approved