Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A067364
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A067364 a(n)=p-n!^4, where p is the smallest prime > n!^4+1. +0
4
2, 3, 5, 5, 7, 29, 19, 29, 181, 19, 31, 173, 79, 43, 379, 61, 101, 127, 101, 83, 37, 29, 271, 233, 109, 233, 293, 1039, 137, 241, 173, 197, 613, 1933, 277, 71, 503, 449, 1667, 53, 67, 163, 179, 211, 53, 613, 1171, 1069, 359, 199, 839, 433, 1523, 463, 677 (list; graph; listen)
OFFSET

1,1

COMMENT

The first 102 terms are primes. Are all terms prime? For n!^i, with 0<i<6, it looks like the terms are prime, too (see references). But for n!^6: a(28)=1189=29*41.

LINKS

Cyril Banderier, Fortunate Numbers

MATHEMATICA

a[n_] := For[i=2, True, i++, If[PrimeQ[n!^4+i], Return[i]]]

PROGRAM

(MuPAD) for n from 1 to 50 do f := n!^4:a := nextprime(f+2)-f:print(a) end_for

CROSSREFS

Cf. A037153, A037153, A005235, A067362, A067363, A067365.

Adjacent sequences: A067361 A067362 A067363 this_sequence A067365 A067366 A067367

Sequence in context: A117530 A094749 A096539 this_sequence A090547 A087308 A121380

KEYWORD

nonn

AUTHOR

Frank Buss (fb(AT)frank-buss.de), Jan 19 2002

EXTENSIONS

Edited by Dean Hickerson (dean(AT)math.ucdavis.edu), Mar 02 2002

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 5 16:50 EDT 2008. Contains 144613 sequences.


AT&T Labs Research