login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160415 First differences of A160118. 6
1, 8, 4, 28, 4, 28, 12, 84, 4, 28, 12, 84, 12, 84, 36, 252, 4, 28, 12, 84, 12, 84, 36, 252, 12, 84, 36, 252, 36, 252, 108, 756, 4, 28, 12, 84, 12, 84, 36, 252, 12, 84, 36, 252, 36, 252, 108, 756, 12, 84, 36, 252, 36, 252, 108, 756, 36, 252, 108, 756, 108, 756, 324 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Number of cells turned "ON" at n-th stage of the cellular automaton of A160118.
LINKS
EXAMPLE
From Omar E. Pol, Mar 21 2011: (Start)
If written as a triangle begins:
1,
8,
4,28,
4,28,12,84,
4,28,12,84,12,84,36,252,
4,28,12,84,12,84,36,252,12,84,36,252,36,252,108,756,
(End)
MATHEMATICA
With[{d = 2}, wt[n_] := DigitCount[n, 2, 1]; f[n_] := If[OddQ[n], 3^d + (2^d) * Sum[(2^d - 1)^(wt[k] - 1), {k, 1, (n - 1)/2}] + (2^d)*(3^d - 2) * Sum[(2^d - 1)^(wt[k] - 1), {k, 1, (n - 3)/2}], 3^d + (2^d) * Sum[(2^d - 1)^(wt[k] - 1), {k, 1, n/2 - 1}] + (2^d)*(3^d - 2) * Sum[(2^d - 1)^(wt[k] - 1), {k, 1, n/2 - 1}]]; f[0] = 0; f[1] = 1; Differences[Array[f, 100, 0]]] (* Amiram Eldar, Feb 02 2024 *)
CROSSREFS
Sequence in context: A307266 A173855 A143368 * A160411 A033473 A238163
KEYWORD
nonn
AUTHOR
Omar E. Pol, Jun 13 2009
EXTENSIONS
More terms (a(8)-a(38)) from Nathaniel Johnston, Nov 14 2010
21 terms corrected between a(13) and a(38), and more terms (a(39)-a(48)) from Omar E. Pol, Mar 21 2011
More terms from Amiram Eldar, Feb 02 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 16 19:40 EDT 2024. Contains 374358 sequences. (Running on oeis4.)