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!)
A004659 Powers of 3 written in base 5. 13

%I #14 Sep 08 2022 08:44:33

%S 1,3,14,102,311,1433,10404,32222,202221,1112213,3342144,21132042,

%T 114001231,402004243,2211023334,12133131112,42004443341,231024441123,

%U 1243134423424,4340014331332,24120104100101

%N Powers of 3 written in base 5.

%H Vincenzo Librandi, <a href="/A004659/b004659.txt">Table of n, a(n) for n = 0..1000</a>

%t Table[FromDigits[IntegerDigits[3^n, 5]], {n, 0, 40}] (* _Vincenzo Librandi_, Jun 07 2013 *)

%o (PARI) for(n=0,30, print1(fromdigits(digits(3^n, 5)), ", ")) \\ _G. C. Greubel_, Sep 10 2018

%o (Magma) [Seqint(Intseq(3^n, 5)): n in [0..30]]; // _G. C. Greubel_, Sep 10 2018

%K nonn,base,easy

%O 0,2

%A _N. J. A. Sloane_

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 August 24 13:31 EDT 2024. Contains 375411 sequences. (Running on oeis4.)