A194810 Indices k such that A139250(k) = A000979(n).
2, 4, 8, 32, 64, 256, 512, 2048, 32768, 2097152, 1073741824, 549755813888, 1125899906842624, 9223372036854775808, 9671406556917033397649408, 39614081257132168796771975168, 633825300114114700748351602688
Offset: 1
Keywords
Examples
For n = 5 we have that a(5) = 64, then we can see that the number of toothpicks in the toothpick structure of A139250 after 64 stages is 2731 which coincides with the fifth Wagstaff prime, so we can write A139250(64) = A000979(5) = 2731. See the illustration in the Applegate-Pol-Sloane paper, figure 3: T(64) = 2731 toothpicks.
Links
- David Applegate, Omar E. Pol and N. J. A. Sloane, The Toothpick Sequence and Other Sequences from Cellular Automata, Congressus Numerantium, Vol. 206 (2010), 157-191. [There is a typo in Theorem 6: (13) should read u(n) = 4.3^(wt(n-1)-1) for n >= 2.]
- David Applegate, Omar E. Pol and N. J. A. Sloane, The Toothpick Sequence and Other Sequences from Cellular Automata, arXiv:1004.3036 [math.CO], 2010.
- David Applegate, The movie version
- C. Caldwell's The Top Twenty, Wagstaff.
- N. J. A. Sloane, Catalog of Toothpick and Cellular Automata Sequences in the OEIS
- Wikipedia, Wagstaff prime
Crossrefs
Programs
-
Mathematica
2^Reap[Do[If[PrimeQ[1+Sum[2^(2n-1), {n, m}]], Sow[m]], {m, 100}]][[2, 1]] (* Jean-François Alcover, Oct 06 2018 *)
Formula
Extensions
More terms from Omar E. Pol, Mar 14 2012
Comments