login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038398 Concatenate first n cubes in reverse order. 0

%I

%S 1,81,2781,642781,125642781,216125642781,343216125642781,

%T 512343216125642781,729512343216125642781,1000729512343216125642781,

%U 13311000729512343216125642781,172813311000729512343216125642781

%N Concatenate first n cubes in reverse order.

%D Mihaly Bencze [Beneze], L. Tutescu, Some Notions and Questions in Number Theory, Sequence 6.

%F a(n) = (n^3)*10^floor(1 + log_10(a(n-1))) + a(n-1), with a(1) = 1. - _Paolo P. Lava_, Jun 20 2008

%p P:=proc(i) local a,n; a:=1; print(1); for n from 2 by 1 to i do a:=n^3*10^floor(evalf(1+log10(a),1000))+a; print(a); od; end: P(100); # _Paolo P. Lava_, Jun 20 2008

%t nn=20;With[{c=Reverse[Range[nn]^3]},Table[FromDigits[Flatten[ IntegerDigits/@ Take[ c,-n]]],{n,nn}]] (* _Harvey P. Dale_, Sep 28 2013 *)

%Y Cf. A000578, A019522, A038397.

%K nonn,base,easy

%O 1,2

%A M. I. Petrescu (mipetrescu(AT)yahoo.com)

%E More terms from Andrew Gacek (andrew(AT)dgi.net), Feb 21 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 13 18:57 EDT 2019. Contains 327981 sequences. (Running on oeis4.)