login
A361931
a(n) is the smallest number k such that A361929(k) = prime(n), or -1 if no such prime exists.
1
1, 2, 7, 10, 26, 177, 508, 13812, 73873, 4638434, 4638435, 1874400183, 114936835817
OFFSET
1,2
COMMENTS
It is conjectured that all primes appear in A361929.
MATHEMATICA
K = {2}; R = {1}; r = 2; z = 1; While[Length@R < 9, z++; p = 2; While[MemberQ[K[[Length@K - GCD[z - 1, Last@K] + 1 ;; Length@K]], p], p = NextPrime[p]]; AppendTo[K, p]; If[p > r, AppendTo[R, z]; r = p]; If[Length@K > NextPrime[r], K = K[[Length@K - NextPrime[r] ;; Length@K]]]]; Print[R]
CROSSREFS
Cf. A361929.
Sequence in context: A362683 A032007 A091295 * A215407 A084184 A015963
KEYWORD
nonn,more
AUTHOR
Samuel Harkness, Mar 30 2023
EXTENSIONS
a(12)-a(13) from Kevin Ryde, Apr 01 2023
STATUS
approved