A256213 Indices of prime terms in A254077.
2, 3, 10, 13, 21, 24, 33, 43, 46, 58, 61, 70, 75, 90, 97, 102, 111, 120, 133, 138, 141, 155, 162, 178, 187, 192, 200, 209, 214, 219, 247, 255, 262, 265, 286, 289, 302, 312, 319, 339, 346, 349, 366, 376, 392, 395, 413, 428, 435, 444, 449, 468, 471, 483, 496
Offset: 1
Keywords
Links
- Ray Chandler and John P. Linderman, Table of n, a(n) for n = 1..42315 [First 10000 terms from Ray Chandler]
- John Mason, The first 675025 terms (zipped file)
Programs
-
Haskell
a256213 n = a256213_list !! (n-1) a256213_list = filter ((== 1) . a010051' . a254077) [1..] -- Reinhard Zumkeller, May 05 2015
-
Mathematica
f[n_] := Block[{s = Range@ n, j, k}, For[k = 4, k <= n, k++, j = 4; While[Nand[GCD[j, s[[k - 2]]] > GCD[j, s[[k - 1]]], !MemberQ[Take[s, k - 1], j]], j++]; s[[k]] = j]; s]; Position[f@ 500, ?PrimeQ] // Flatten (* _Michael De Vlieger, Apr 15 2015 *)
Comments