[go: up one dir, main page]

login
A004659
Powers of 3 written in base 5.
13
1, 3, 14, 102, 311, 1433, 10404, 32222, 202221, 1112213, 3342144, 21132042, 114001231, 402004243, 2211023334, 12133131112, 42004443341, 231024441123, 1243134423424, 4340014331332, 24120104100101
OFFSET
0,2
LINKS
MATHEMATICA
Table[FromDigits[IntegerDigits[3^n, 5]], {n, 0, 40}] (* Vincenzo Librandi, Jun 07 2013 *)
PROG
(PARI) for(n=0, 30, print1(fromdigits(digits(3^n, 5)), ", ")) \\ G. C. Greubel, Sep 10 2018
(Magma) [Seqint(Intseq(3^n, 5)): n in [0..30]]; // G. C. Greubel, Sep 10 2018
CROSSREFS
Sequence in context: A284759 A284760 A076015 * A054202 A084420 A163882
KEYWORD
nonn,base,easy
STATUS
approved