OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
A007088:= proc(n) local L; L:= convert(n, base, 2);
add(L[i]*10^(i-1), i=1..nops(L))
end proc:
seq(A007088(n^3), n=1..100); # Robert Israel, Oct 16 2015
MATHEMATICA
Table[FromDigits[IntegerDigits[n^3, 2]], {n, 30}] (* Vincenzo Librandi, Oct 15 2015 *)
PROG
(Magma) [Seqint(Intseq(n^3, 2)): n in [1..30]]; // Vincenzo Librandi, Oct 16 2015
(PARI) for(n=1, 20, print1(fromdigits(digits(n^3, 2)), ", ")) \\ G. C. Greubel, Sep 10 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Changed offset and more terms from Vincenzo Librandi, Oct 16 2015
STATUS
approved