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”).

A256531
First differences of A256530.
4
0, 1, 8, 12, 28, 12, 36, 60, 68, 12, 36, 60, 84, 108, 132, 156, 148, 12, 36, 60, 84, 108, 132, 156, 180, 204, 228, 252, 276, 300, 324, 348, 308, 12, 36, 60, 84, 108, 132, 156, 180, 204, 228, 252, 276, 300, 324, 348, 372, 396, 420, 444, 468, 492, 516, 540, 564, 588, 612, 636, 660, 684, 708, 732, 628, 12, 36, 60, 84, 108
OFFSET
0,3
COMMENTS
Number of cells turned ON at n-th stage of cellular automaton of A256530.
Similar to A261695 which shares infinitely many terms.
EXAMPLE
With the positive terms written as an irregular triangle in which the row lengths are the terms of A011782 the sequence begins:
1;
8;
12, 28;
12, 36, 60, 68;
12, 36, 60, 84, 108, 132, 156, 148;
12, 36, 60, 84, 108, 132, 156, 180, 204, 228, 252, 276, 300, 324, 348, 308;
...
The terms of the rows that start with 12 are also the initial terms of A073762, except the last term of every row, hence rows converge to A073762.
MATHEMATICA
With[{z=7}, Differences[Join[{0, 0}, Flatten[Array[(2^#-1)^2+12Range[0, 2^(#-1)-1]^2&, z]]]]] (* Generates 2^z terms *) (* Paolo Xausa, Nov 15 2023, after Omar E. Pol *)
PROG
(GW-BASIC) 10' a256531 First 2^z-1 positive terms: 20 z=6: defdbl a: for i=1 to z: for j=0 to 2^(i-1)-1: n=n+1: a(n)=(2^i-1)^2 + 3*(2*j)^2: print a(n)-a(n-1); : next j: next i: end
KEYWORD
nonn,tabf
AUTHOR
Omar E. Pol, Apr 21 2015
STATUS
approved