OFFSET
1,1
COMMENTS
I conjecture that there are no other terms in this sequence.
A124129 is constructed in a similar way: by comparing the values of prime(k)^2 mod prime(k+1) and prime(k+1)^2 mod prime(k).
If it exists, then a(35) > 10^12. - Lucas A. Brown, Feb 11 2021
EXAMPLE
a(10) = prime(10) = 29 is in the sequence because the remainder of the division of 29^2 = 841 by prime(12) = 37 is 27, which is different from the remainder of the division of 37^2 = 1369 by prime(10) = 29, which is 6.
MATHEMATICA
Select[Prime[Range[250]], PowerMod[#, 2, NextPrime[#, 2]] != PowerMod[ NextPrime[ #, 2], 2, #]&] (* Harvey P. Dale, Nov 17 2020 *)
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Arnaud Vernier, Mar 03 2017
STATUS
approved