login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..47.

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

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

Adjacent sequences:  A163478 A163479 A163480 * A163482 A163483 A163484

KEYWORD

nonn

AUTHOR

Antti Karttunen, Jul 29 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 24 19:27 EDT 2021. Contains 347651 sequences. (Running on oeis4.)