OFFSET
1,1
COMMENTS
Note two consecutive primes prime(k)//prime(k+1)
Necessarily q is odd and has end digit 1, 3, 7 or 9
REFERENCES
J.-P. Allouche, J. Shallit: Automatic Sequences, Theory, Applications, Generalizations, Cambridge University Press, 2003
EXAMPLE
3^2=9, 239 = prime(52) => q(1) = 3
359 = prime(72) => q(2) = 3
k=18, prime(18) = 61, 141^2 = 19881, 616719881 = prime(32151650) => q(18) = 141
CROSSREFS
KEYWORD
base,nonn,uned
AUTHOR
Ulrich Krug (leuchtfeuer37(AT)gmx.de), Mar 15 2010
STATUS
approved