OFFSET
1
COMMENTS
Taking the first differences of indices of 1's in this sequence gives A327983 from its second term onward.
LINKS
EXAMPLE
The evolution of one-dimensional cellular automaton rule 30 proceeds as follows, when started from a single alive (1) cell:
0: (1) a(n)
1: 1(1)1 0
2: 11(0)01 1
3: 110(1)111 1
4: 1100(1)0001 0
5: 11011(1)10111 0
6: 110010(0)001001 1
7: 1101111(0)0111111 0
8: 11001000(1)11000001 1
9: 110111101(1)001000111 0
10: 1100100001(0)1111011001 1
11: 11011110011(0)10000101111 0
12: 110010001110(0)110011010001 0
13: 1101111011001(1)1011100110111 1
We start from row 1, and write 0 if the central cell is equal to the central cell in the row above, or 1 if it differs, which gives us terms: 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, ...
MATHEMATICA
A327974list[nmax_]:=BitXor@@@Partition[CellularAutomaton[30, {{1}, 0}, {nmax, {{0}}}], 2, 1]; A327974list[150] (* Paolo Xausa, May 26 2023 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 03 2019
STATUS
approved