Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A138700
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A138700 Numbers n such that 2*n+1, 3*n+2, 4*n+3 and 5*n+4 are primes. +0
6
5, 89, 119, 755, 1175, 1469, 1769, 2105, 5045, 6725, 9065, 9365, 9659, 10379, 10505, 11639, 12899, 14279, 16385, 19229, 19985, 21845, 22559, 23309, 24905, 26795, 27005, 29489, 30359, 31409, 31835, 32549, 35999, 36455, 38339 (list; graph; listen)
OFFSET

1,1

EXAMPLE

5 is in the sequence because 11,17,23,29 are prime.

MAPLE

a:=proc(n) if isprime(2*n+1)=true and isprime(3*n+2)=true and isprime(4*n+3)= true and isprime(5*n+4)=true then n else end if end proc: seq(a(n), n=1..40000); - Emeric Deutsch (deutsch(AT)duke.poly.edu), May 24 2008

MATHEMATICA

a={}; Do[If[PrimeQ[n*2+1]&&PrimeQ[n*3+2]&&PrimeQ[n*4+3]&&PrimeQ[n*5+4], AppendTo[a, n]], {n, 1, 10^5}]; Print[a];

CROSSREFS

Sequence in context: A054954 A106971 A136618 this_sequence A139937 A059696 A072216

Adjacent sequences: A138697 A138698 A138699 this_sequence A138701 A138702 A138703

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), May 15 2008

EXTENSIONS

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), May 24 2008

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 December 1 19:22 EST 2009. Contains 167811 sequences.


AT&T Labs Research