cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A004632 Cubes written in base 2.

Original entry on oeis.org

1, 1000, 11011, 1000000, 1111101, 11011000, 101010111, 1000000000, 1011011001, 1111101000, 10100110011, 11011000000, 100010010101, 101010111000, 110100101111, 1000000000000, 1001100110001, 1011011001000, 1101011001011, 1111101000000, 10010000101101
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [Seqint(Intseq(n^3, 2)): n in [1..30]]; // 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 *)
  • PARI
    for(n=1,20, print1(fromdigits(digits(n^3, 2)), ", ")) \\ G. C. Greubel, Sep 10 2018

Formula

a(n) = A007088(n^3) = A007088(A000578(n)). - Vincenzo Librandi, Oct 16 2015

Extensions

Changed offset and more terms from Vincenzo Librandi, Oct 16 2015