login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062551 Primes of the form 3*n! + 1. 1
7, 19, 73, 2161, 15121, 1088641, 10886401, 18681062401, 77556050216654929920001, 46533630129992957952000001, 789392510801080590501654036480000001 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
lst={}; Do[p=3*n!+1; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 28 2009 *)
Select[3*Range[40]! +1, PrimeQ] (* Harvey P. Dale, Jul 20 2018 *)
PROG
(PARI) for(n=1, 40, if(isprime(3*n!+1), print(3*n!+1)))
(PARI) { n=0; for (m=0, 10^5, if(isprime(a=3*m! + 1), write("b062551.txt", n++, " ", a); if (n==15, break)) ) } \\ Harry J. Smith, Aug 08 2009
CROSSREFS
Sequence in context: A002533 A111011 A144723 * A155390 A269784 A237436
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 10 2001
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 09:14 EDT 2024. Contains 371967 sequences. (Running on oeis4.)