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

 

Logo

Many excellent designs for a new banner were submitted. We will use the best of them in rotation.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057632 Initial prime in first sequence of n primes congruent to 3 modulo 8. 0
3, 491, 2243, 42299, 274123, 4310083, 4310083, 9065867, 547580443, 1885434347, 8674616939, 11312238283, 19201563659, 619849118491, 4056100954547, 13721202685691, 119254168189363, 276151474703651 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..18.

J. K. Andersen, Consecutive Congruent Primes.

EXAMPLE

a(3) = 2243 because this number is the first in a sequence of 3 consecutive primes all of the form 8n + 3.

MATHEMATICA

NextPrime[ n_Integer ] := Module[ {k = n + 1}, While[ ! PrimeQ[ k ], k++ ]; Return[ k ] ]; PrevPrime[ n_Integer ] := Module[ {k = n - 1}, While[ ! PrimeQ[ k ], k-- ]; Return[ k ] ]; p = 0; Do[ a = Table[ -1, {n} ]; k = Max[ 1, p ]; While[ Union[ a ] != {3}, k = NextPrime[ k ]; a = Take[ AppendTo[ a, Mod[ k, 8 ] ], -n ] ]; p = NestList[ PrevPrime, k, n ]; Print[ p[ [ -2 ] ] ]; p = p[ [ -1 ] ], {n, 1, 9} ] a(9) > 305256000.

CROSSREFS

Sequence in context: A198652 A198659 A142801 * A024045 A160362 A155852

Adjacent sequences:  A057629 A057630 A057631 * A057633 A057634 A057635

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Oct 10 2000

EXTENSIONS

More terms from Jens Kruse Andersen, May 28 2006

a(16)-a(18) from Giovanni Resta, Aug 04 2013

STATUS

approved

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

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

Last modified April 18 14:05 EDT 2014. Contains 240720 sequences.