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

A262617
First differences of A256266.
1
0, 6, 12, 6, 24, 18, 12, 6, 48, 42, 36, 30, 24, 18, 12, 6, 96, 90, 84, 78, 72, 66, 60, 54, 48, 42, 36, 30, 24, 18, 12, 6, 192, 186, 180, 174, 168, 162, 156, 150, 144, 138, 132, 126, 120, 114, 108, 102, 96, 90, 84, 78, 72, 66, 60, 54, 48, 42, 36, 30, 24, 18, 12, 6, 384, 378, 372, 366, 360, 354, 348, 342, 336, 330, 324, 318
OFFSET
0,2
COMMENTS
Number of cells turned ON at n-th stage of the cellular automaton of A256266.
FORMULA
a(n) = 6 * A080079(n), n >= 1.
EXAMPLE
With the terms written as an irregular triangle in which the row lengths are the terms of A011782 the sequence begins:
0;
6;
12, 6;
24, 18, 12, 6;
48, 42, 36, 30, 24, 18, 12, 6;
96, 90, 84, 78, 72, 66, 60, 54, 48, 42, 36, 30, 24, 18, 12, 6;
...
Apart from the initial zero the rows list the initial terms of the positive multiples of 6 in decreasing order.
PROG
(PARI) a(n) = if(n==0, 0, -6*n+12*2^floor(log(n)/log(2)));
vector(100, n, a(n-1)) \\ Altug Alkan, Oct 04 2015
CROSSREFS
KEYWORD
nonn,tabf,easy
AUTHOR
Omar E. Pol, Oct 02 2015
STATUS
approved