OFFSET
1,1
COMMENTS
These primes are also given by sum 6^k -1 with k>0 and are then companions of A165210 which corresponds also to sum 6^k +1 with k>0. (Be careful: there is a shifting between the k and the n values).
Corresponding exponents n are in A199165. - Gilbert Mozzo, Nov 05 2011
EXAMPLE
(6^4-11)/5=257, which is in the sequence because it is prime.
MATHEMATICA
lst={}; Do[If[PrimeQ[(6^n-11)/5], Print[(6^n-11)/5]; AppendTo[lst, (6^n-11)/5]], {n, 10^6}];
PROG
(Magma) [(6^n-11)/5: n in [1..10^3] | IsPrime((6^n-11) div 5)];
(PARI) for(n=1, 1e4, if(ispseudoprime(t=6^n\5-2), print1(t", "))) \\ Charles R Greathouse IV, Nov 01 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Gilbert Mozzo, Oct 29 2011
STATUS
approved