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

A004661
Powers of 3 written in base 7.
1
1, 3, 12, 36, 144, 465, 2061, 6243, 25062, 111246, 334104, 1335315, 4342251, 16360113, 55440342, 232651356, 1031614434, 3125446635, 12413006541, 40542026253, 152256115122, 520134351366, 2160436414464
OFFSET
0,2
LINKS
MATHEMATICA
Table[FromDigits[IntegerDigits[3^n, 7]], {n, 0, 30}] (* Vincenzo Librandi, Jun 07 2013 *)
PROG
(PARI) vector(50, n, n--; fromdigits(digits(3^n, 7))) \\ G. C. Greubel, Oct 13 2018
(Magma) [Seqint(Intseq(3^n, 7)): n in [0..30]]; // G. C. Greubel, Oct 13 2018
CROSSREFS
Sequence in context: A303308 A155714 A282022 * A074430 A064028 A326241
KEYWORD
nonn,base,easy
STATUS
approved