|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Number of cells turned ON at n-th stage of the cellular automaton of A256266.
|
|
LINKS
|
|
|
FORMULA
|
|
|
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)));
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,tabf,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|