Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125191
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125191 Primes of the form k# + (k+1)# +- 1, where k# = A002110(k) = primorial(k). +0
3
2, 7, 37, 239, 241, 2521, 32341, 540539, 540541, 232792559, 232792561, 207030183359, 311671001662019, 41287621429375723111588738861, 5801527386969669153864265802424086050777441586253956297278498679 (list; graph; listen)
OFFSET

1,1

COMMENT

Prime numbers n such that n = (prime(k+1) + 1)*k# +- 1 for some k.

EXAMPLE

Let k = 1; then 1#+2# = 2+6 = 8, 8-1 = 7 is prime but 8+1 = 9 is nonprime.

Let k = 3; then 3#+4# = 30+210 = 240, 240-1 = 239 is prime and 240+1 = 241 is also prime.

MAPLE

A002110 := 1 : A000040 := 2 : for n from 1 to 38 do if isprime(A002110*(1+A000040)-1) then printf("%d, ", A002110*(1+A000040)-1) ; fi ; if isprime(A002110*(1+A000040)+1) then printf("%d, ", A002110*(1+A000040)+1) ; fi ; A002110 := A002110*A000040 : A000040 := nextprime(A000040) : od : - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 26 2007

PROGRAM

(PARI) {m=37; for(n=0, m, p=primorial(n)+primorial(n+1); if(isprime(a=p-1), print1(a, ", ")); if(isprime(a=p+1), print1(a, ", ")))} - Klaus Brockhaus, Jan 25 2007

CROSSREFS

Cf. A002110 (primorial numbers), A006862 (Euclid numbers), A057588 (Kummer numbers).

Sequence in context: A062394 A063766 A020040 this_sequence A135164 A072597 A125515

Adjacent sequences: A125188 A125189 A125190 this_sequence A125192 A125193 A125194

KEYWORD

nonn

AUTHOR

Tomas Xordan (xordan.tom(AT)gmail.com), Jan 12 2007

EXTENSIONS

Edited, corrected and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de) and R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 25 2007

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 November 25 14:49 EST 2009. Contains 167514 sequences.


AT&T Labs Research