Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A079649
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A079649 Numbers n such that n! + n^2 + n + 1 is prime. +0
1
0, 3, 5, 17, 24, 314 (list; graph; listen)
OFFSET

1,2

EXAMPLE

1!+1^2+1+1 = 1+1+1+1 = 4, which is not prime. 2!+2^2+2+1 = 2+4+2+1 = 8, which is not prime. 3!+3^2+3+1 = 6+9+3+1 = 19, which is prime, so a(1)=3.

MATHEMATICA

For[i = 1, i < 1000, If[PrimeQ[Factorial[i] + i^2 + i + 1] == True, Print[i]]; i++ ]

CROSSREFS

Adjacent sequences: A079646 A079647 A079648 this_sequence A079650 A079651 A079652

Sequence in context: A100564 A024862 A025106 this_sequence A024867 A025111 A032619

KEYWORD

nonn

AUTHOR

N. Fernandez (primeness(AT)borve.org), Jan 22 2003

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 | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 13 20:18 EDT 2008. Contains 145016 sequences.


AT&T Labs Research