login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A004632
Cubes written in base 2.
3
1, 1000, 11011, 1000000, 1111101, 11011000, 101010111, 1000000000, 1011011001, 1111101000, 10100110011, 11011000000, 100010010101, 101010111000, 110100101111, 1000000000000, 1001100110001, 1011011001000, 1101011001011, 1111101000000, 10010000101101
OFFSET
1,2
LINKS
FORMULA
a(n) = A007088(n^3) = A007088(A000578(n)). - Vincenzo Librandi, Oct 16 2015
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
Sequence in context: A379270 A017643 A161770 * A277397 A250449 A117690
KEYWORD
nonn,base
EXTENSIONS
Changed offset and more terms from Vincenzo Librandi, Oct 16 2015
STATUS
approved