login
This site is supported by donations 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

Harry J. Smith, Table of n, a(n) for n=1,...,15

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

Adjacent sequences:  A062548 A062549 A062550 * A062552 A062553 A062554

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 15:46 EDT 2019. Contains 328223 sequences. (Running on oeis4.)