login
Powers of ten written in base 8.
(Formerly M4870 N2085)
8

%I M4870 N2085 #31 Jan 12 2021 08:08:35

%S 1,12,144,1750,23420,303240,3641100,46113200,575360400,7346545000,

%T 112402762000,1351035564000,16432451210000,221411634520000,

%U 2657142036440000,34327724461500000,434157115760200000,5432127413542400000,67405553164731000000,1053071060221172000000

%N Powers of ten written in base 8.

%D M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 1017.

%D N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%H T. D. Noe, <a href="/A000468/b000468.txt">Table of n, a(n) for n = 0..100</a>

%H M. Abramowitz and I. A. Stegun, eds., <a href="http://www.convertit.com/Go/ConvertIt/Reference/AMS55.ASP">Handbook of Mathematical Functions</a>, National Bureau of Standards, Applied Math. Series 55, Tenth Printing, 1972 [alternative scanned copy].

%t FromDigits/@IntegerDigits[10^Range[0,20],8] (* _Harvey P. Dale_, Apr 08 2012 *)

%o (PARI) a(n)=fromdigits(digits(10^n,8)) \\ _Charles R Greathouse IV_, Feb 08 2017

%o (Python)

%o def a(n): return int(oct(10**n)[2:])

%o print([a(n) for n in range(20)]) # _Michael S. Branicky_, Jan 12 2021

%K nonn,base,easy,nice

%O 0,2

%A _N. J. A. Sloane_

%E More terms from _James A. Sellers_, Jul 05 2000