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.

A151781 Partial sums of A151779.

Original entry on oeis.org

1, 7, 13, 43, 49, 79, 109, 259, 265, 295, 325, 475, 505, 655, 805, 1555, 1561, 1591, 1621, 1771, 1801, 1951, 2101, 2851, 2881, 3031, 3181, 3931, 4081, 4831, 5581, 9331, 9337, 9367, 9397, 9547, 9577, 9727, 9877, 10627, 10657, 10807, 10957, 11707, 11857, 12607
Offset: 1

Views

Author

N. J. A. Sloane, Jun 25 2009

Keywords

Comments

Total number of ON cells after n-th generation of cellular automaton based on Z^3 lattice in the same way that A147562 is based on the Z^2 lattice. Here each cell has six neighbors.

Crossrefs

Programs

  • Mathematica
    a[n_] := 6*5^(Total@ IntegerDigits[n - 1, 2] - 1); a[1] = 1; Accumulate@ Array[a, 46] (* Michael De Vlieger, Oct 31 2022 *)
  • PARI
    a(n)=sum(k=1,n,6*5^(hammingweight(k-1)-1)\1) \\ Charles R Greathouse IV, Sep 14 2015