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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

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 A255017

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 | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 2 23:29 EST 2016. Contains 278694 sequences.