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

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

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 * A245245 A024045 A160362

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 November 23 17:12 EST 2014. Contains 249851 sequences.