A177908 Integers n such that n^3 divides 8^(n^2) - 1.
1, 7, 889, 2359, 299593, 2033143, 13549249, 42931441, 100170217, 188097287, 233727361, 310935751, 685169191, 1515836567, 3606045247, 4566096913, 5452293007, 6620620783, 12721617559, 13162910047, 24088984969, 29683374847, 30987132463, 63388785719, 65576560063, 92349997537
Offset: 1
Keywords
Crossrefs
Programs
-
Mathematica
Select[Range[2 10^5], IntegerQ[(8^(#^2) - 1) / #^3] &] (* or *) Select[Range[2 10^6], IntegerQ[(PowerMod[8, #, #^2] - 1) / #^3] &] (* Vincenzo Librandi, Nov 23 2018 *)
-
PARI
is(n)=Mod(8,n^3)^n^2==1 \\ M. F. Hasler, Nov 21 2018
Extensions
a(23)-a(26) from Giovanni Resta, Nov 23 2018
Comments