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!)
A144957 Primes of the form n!-n^2-1. 0
7, 683, 87178291003, 23721732428800468856771473051394170805702085973808045661837377170052497697783313457227249544076486314839447086187187275319400401837013955325179315652376928996065123321190898603130879999999999999999999999999984123 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
lst={}; Do[s=n!-n^2; If[PrimeQ[p=s-1], AppendTo[lst, p]], {n, 3, 2*5!}]; lst
PROG
(PARI) for(n=1, 1e3, if(ispseudoprime(t=n!-n^2-1), print1(t", "))) \\ Charles R Greathouse IV, Oct 03 2011
CROSSREFS
Sequence in context: A228928 A332167 A038803 * A163016 A261696 A174855
KEYWORD
nonn
AUTHOR
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 August 14 22:14 EDT 2024. Contains 375167 sequences. (Running on oeis4.)