login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036215 Binary reversal of 3^n. 4
1, 3, 9, 27, 69, 207, 621, 3345, 4275, 25497, 38247, 229173, 589185, 1669443, 5205897, 14045019, 34319397, 102566511, 307313949, 1843835217, 2312645619, 13776780249, 20417442711, 112792132341, 290155405761, 847524815523, 2611222884297, 7627711248315 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Compute 3^n in binary, reverse the bits, from 0 to the most significant bit of the power.
LINKS
FORMULA
a(n) = A030101(A000244(n)). - Michel Marcus, Sep 08 2013
MATHEMATICA
Table[FromDigits[Reverse[IntegerDigits[3^n, 2]], 2], {n, 0, 30}] (* Vincenzo Librandi, Sep 09 2013 *)
PROG
(PARI) a(n) = subst(Polrev(binary(3^n)), x, 2); \\ Michel Marcus, Sep 08 2013
CROSSREFS
Cf. A036213 and A036214.
Sequence in context: A137368 A360703 A191007 * A103828 A110740 A348555
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Michel Marcus, Sep 08 2013
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:53 EDT 2024. Contains 371906 sequences. (Running on oeis4.)