proposed
approved
proposed
approved
editing
proposed
allocated for Felix Fröhlich
a(1) = 37. For n > 1, a(n) = smallest prime q such that q^(a(n-1)-1) == 1 (mod a(n-1)^2).
37, 691, 19181, 5849, 18503, 37853, 478741, 18401827, 571007279, 5860639859
1,1
Is this overall an increasing sequence or does it enter a cycle?
The sequence decreases for the first time at n = 4.
(PARI) seq(start, terms) = my(x=start, i=1); print1(start, ", "); while(1, forprime(q=1, , if(Mod(q, x^2)^(x-1)==1, print1(q, ", "); x=q; i++; if(i >= terms, break({2}), break))))
seq(37, 20) \\ Print initial 20 terms of sequence
allocated
nonn,hard,more
Felix Fröhlich, Jul 09 2022
approved
editing
allocated for Felix Fröhlich
allocated
approved