A218719 a(n) is smallest number such that a(n)^2 + 1 is divisible by 97^n.
0, 22, 4052, 107551, 22709274, 331407850, 197177418061, 26457926739667, 2369608176604944, 76004727767164666, 25163629663367816827, 1965881512952938486496, 191165497320828772935835, 21700278688179406782082106, 560121950820639295011033922
Offset: 0
Keywords
Examples
a(3) = 107551 because 107551^2+1 = 2 * 97 ^ 3 * 6337.
Crossrefs
Programs
-
Mathematica
b=22;n97=97;jo=Join[{0,b},Table[n97=97*n97;b=PowerMod[b, 97,n97];b=Min[b,n97-b],{99}]]