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!)
A240163 Numbers n such that (k!+n)/k is prime for some k. 3
1, 2, 3, 4, 6, 8, 9, 10, 12, 15, 16, 18, 20, 22, 24, 25, 27, 28, 30, 32, 33, 35, 36, 38, 40, 42, 44, 45, 46, 49, 51, 52, 56, 58, 60, 63, 65, 66, 68, 70, 72, 74, 78, 80, 81, 82, 84, 85, 87, 88, 91, 92, 95, 96, 100, 102, 104, 105, 106, 108, 112, 114, 115, 116, 117, 120, 121, 123, 124, 126 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Complement of A245757.
LINKS
PROG
(PARI)
a(n)=for(k=1, n, s=(k!+n)/k; if(floor(s)==s, if(ispseudoprime(s), return(k))))
n=1; while(n<200, if(a(n), print1(n, ", ")); n++)
CROSSREFS
Sequence in context: A064150 A259227 A196149 * A331819 A269045 A067023
KEYWORD
nonn
AUTHOR
Derek Orr, Aug 01 2014
EXTENSIONS
Typo in PARI code fixed by Colin Barker, Aug 02 2014
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 September 16 19:50 EDT 2024. Contains 375977 sequences. (Running on oeis4.)