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”).

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