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!)
A004658 Powers of 3 written in base 4. 12
1, 3, 21, 123, 1101, 3303, 23121, 202023, 1212201, 10303203, 32122221, 223033323, 2001233301, 12011033103, 102033231321, 312233021223, 2210031131001, 13230220113003, 113011321011021, 1011101223033123 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
Table[FromDigits[IntegerDigits[3^n, 4]], {n, 0, 40}] (* Vincenzo Librandi, Jun 07 2013 *)
PROG
(PARI) a(n, b=4, m=3)=fromdigits(digits(m^n, b)) \\ M. F. Hasler, Jun 22 2018
(Magma) [Seqint(Intseq(3^n, 4)): n in [0..30]]; // G. C. Greubel, Sep 10 2018
CROSSREFS
Cf. A000244, A004656, A004659, ... : powers of 3 written in base 10, 2, 5, ...
Cf. A000079, A004643, ..., A004655: powers of 2 written in base 10, 4, 5, ..., 16
Sequence in context: A322185 A171137 A144884 * A034552 A356889 A220616
KEYWORD
nonn,base,easy
AUTHOR
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 March 28 05:02 EDT 2024. Contains 371235 sequences. (Running on oeis4.)