|
Search: id:A057619
|
|
|
| A057619 |
|
Initial prime in first sequence of n primes congruent to 3 modulo 4. |
|
+0 4
|
|
| 3, 7, 199, 199, 463, 463, 463, 36551, 39607, 183091, 241603, 241603, 241603, 9177431, 9177431, 95949311, 105639091, 341118307, 727334879, 727334879, 1786054147, 1786054147, 22964264027, 54870713243, 79263248027, 113391385603
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
REFERENCES
|
R. K. Guy, "Unsolved Problems in Number Theory", A4
|
|
LINKS
|
J. K. Andersen, Consecutive Congruent Primes.
|
|
EXAMPLE
|
a(13) = 241603 because this number is the first in a sequence of 13 consecutive primes all of the form 4n + 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, 4 ] ], -n ] ]; p = NestList[ PrevPrime, k, n ]; Print[ p[ [ -2 ] ] ]; p = p[ [ -1 ] ], {n, 1, 18} ]
|
|
CROSSREFS
|
Cf. A057620, A057622, A057624.
Sequence in context: A128273 A105763 A132564 this_sequence A061422 A088097 A064774
Adjacent sequences: A057616 A057617 A057618 this_sequence A057620 A057621 A057622
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Oct 09 2000
|
|
EXTENSIONS
|
More terms from Don Reble (djr(AT)nk.ca), Nov 16 2003
More terms from Jens Kruse Andersen (jens.k.a(AT)get2net.dk), May 29 2006
|
|
|
Search completed in 0.002 seconds
|