login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122565 Twin primes of form 4k+1, 4k+3. 17
5, 7, 17, 19, 29, 31, 41, 43, 101, 103, 137, 139, 149, 151, 197, 199, 269, 271, 281, 283, 461, 463, 521, 523, 569, 571, 617, 619, 641, 643, 809, 811, 821, 823, 857, 859, 881, 883, 1049, 1051, 1061, 1063, 1229, 1231, 1277, 1279, 1289, 1291, 1301, 1303, 1481 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Twin primes with Hamming distance 1 between them. - Vladimir Shevelev, Jan 29 2012

LINKS

Amiram Eldar, Table of n, a(n) for n = 1..10000

EXAMPLE

a(3) = 17 = 4*4 + 1, a(4) = 19 = 4*4 + 3.

MAPLE

i:=1:for k from 1 to 600 do if isprime(4*k+1) and isprime(4*k+3) then a[i]:=4*k+1:a[i+1]:=4*k+3: i:=i+2 fi od: seq(a[n], n=1..i-1);

MATHEMATICA

Flatten[Select[Table[4k+{1, 3}, {k, 400}], And@@PrimeQ[#] &]] (* Jayanta Basu, May 26 2013 *)

CROSSREFS

Cf. A001097, A123986, A205649.

Sequence in context: A163633 A092242 A003630 * A247607 A079016 A106120

Adjacent sequences:  A122562 A122563 A122564 * A122566 A122567 A122568

KEYWORD

nonn

AUTHOR

Miklos Kristof, Sep 21 2006

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 4 07:57 EDT 2020. Contains 334822 sequences. (Running on oeis4.)