Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064278
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064278 Numbers n such that n! + prime(n) is prime. +0
4
1, 2, 3, 4, 5, 6, 9, 11, 17, 18, 25, 31, 40, 96, 174, 193, 204, 269, 523, 650, 659, 797, 1437, 1862, 2515, 4983 (list; graph; listen)
OFFSET

1,2

COMMENT

The numbers corresponding to 2515 and 4983 are probable primes. [From F. Firoozbakht (mymontain(AT)yahoo.com), Oct 15 2009]

EXAMPLE

n=5: 5! = 120 and prime(5) = 11, 120+11 = 131.

6 is listed because 6!+p(6)=720+13=733 is prime

MATHEMATICA

Do[ If[ PrimeQ[ n! + Prime[ n ] ], Print[ n ] ], {n, 1, 700} ]

PROGRAM

(PARI) for(n=1, 100, if(isprime(n!+prime(n)), print(n)))

CROSSREFS

Cf. A063499 "Primes of form p(n) + n!, where p(n) is the n-th prime." [From Alexander R. Povolotsky (pevnev(AT)juno.com), Aug 13 2008]

Sequence in context: A036023 A119952 A102571 this_sequence A125155 A091179 A036027

Adjacent sequences: A064275 A064276 A064277 this_sequence A064279 A064280 A064281

KEYWORD

nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Sep 24 2001

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 28 2001

More terms from John Sillcox (JMS21187(AT)aol.com), Apr 05 2003

Two more terms from F. Firoozbakht (mymontain(AT)yahoo.com), Oct 15 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | The OEIS Foundation | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified March 20 09:10 EDT 2010. Contains 173642 sequences.


AT&T Labs Research