login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106155 Numbers n>2 such that p(n)# + (p(n+1))^2 or p(n+1)# - (p(n+2))^2 is prime or both are primes. 0
3, 4, 5, 6, 7, 10, 12, 13, 19, 26, 28, 41, 66, 73, 76, 78, 85, 371, 437, 513, 661, 726, 924, 1063, 1331, 1380, 1422, 1602, 1947, 1963 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

2*3*5 + 7*7 = 79 prime as 2*3*5*7 - 11*11 = 89 prime so a(1)=3

2*3*5*7 + 11*11 = 331 prime as 2*3*5*7*11 -13*13 = 2141 prime so a(2)=4

2*3*5*7*11 + 13*13 = 2479 = 37*67 composite

2*3*5*7*11*13 - 17*17 = 29471 prime so a(3)=5

CROSSREFS

Sequence in context: A112874 A159973 A158008 * A087190 A085038 A163078

Adjacent sequences:  A106152 A106153 A106154 * A106156 A106157 A106158

KEYWORD

more,nonn

AUTHOR

Pierre CAMI (pierre-cami(AT)bbox.fr), May 08 2005

EXTENSIONS

a(20)-a(30) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Apr 27 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 14:50 EST 2012. Contains 206050 sequences.