OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
f:= proc(n) local t; t:= convert(n^3, base, 4); add(t[i]*10^(i-1), i=1..nops(t)) end proc:
map(f, [$1..50]); # Robert Israel, Oct 14 2015
MATHEMATICA
Table[FromDigits[IntegerDigits[n^3, 4]], {n, 30}] (* Vincenzo Librandi, Oct 15 2015 *)
PROG
(Magma) [Seqint(Intseq(n^3, 4)): n in [1..30]]; // Vincenzo Librandi, Oct 15 2015
(PARI) for(n=1, 30, print1(fromdigits(digits(n^3, 4)), ", ")) \\ G. C. Greubel, Sep 10 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved