A198725 Primes of the form (6^n-11)/5.
5, 41, 257, 1553, 15672832817, 121871948002097, 4387390128075569, 161656255492952812128627920091307258673, 34917751186477807419783630739722367873841
Offset: 1
Keywords
Examples
(6^4-11)/5=257, which is in the sequence because it is prime.
Programs
-
Magma
[(6^n-11)/5: n in [1..10^3] | IsPrime((6^n-11) div 5)];
-
Mathematica
lst={}; Do[If[PrimeQ[(6^n-11)/5], Print[(6^n-11)/5]; AppendTo[lst, (6^n-11)/5]], {n, 10^6}];
-
PARI
for(n=1,1e4,if(ispseudoprime(t=6^n\5-2),print1(t", "))) \\ Charles R Greathouse IV, Nov 01 2011
Comments