login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A139066
Primes of the form (8+k!)/8.
41
631, 45361, 453601, 59875201, 10897286401, 304112751022080001, 3231502092360622080001, 77556050216654929920001, 1105220249217462744317952000001, 332283946848556096005453226376826986289954816000000001
OFFSET
1,1
COMMENTS
For numbers k for which (8+k!)/8 is prime see A151913.
The next term (a(11)) has 174 digits. - Harvey P. Dale, May 10 2016
LINKS
FORMULA
a(n) = A139155(A151913(n)). - Amiram Eldar, Oct 14 2024
MATHEMATICA
a = {}; Do[If[PrimeQ[(n! + 8)/8], AppendTo[a, (n! + 8)/8]], {n, 1, 50}]; a
Select[(8+Range[50]!)/8, PrimeQ] (* Harvey P. Dale, May 10 2016 *)
PROG
(PARI) for(k=4, 1e3, if(ispseudoprime(t=k!/8+1), print1(t", "))) \\ Charles R Greathouse IV, Jul 15 2011
KEYWORD
nonn
AUTHOR
Artur Jasinski, Apr 07 2008
EXTENSIONS
Corrected link to sequence of indexes. - Serge Batalov, Feb 17 2015
a(10) from Harvey P. Dale, May 10 2016
STATUS
approved