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!)
A173232 Numbers k such that k and k+2 are both members of A002822. 1
1, 3, 5, 10, 23, 30, 38, 45, 70, 135, 170, 175, 213, 215, 268, 355, 465, 560, 588, 653, 703, 705, 710, 773, 798, 835, 940, 978, 1115, 1130, 1158, 1258, 1370, 1500, 1570, 1843, 1860, 2040, 2280, 2285, 2333, 2425, 2985, 3008, 3020, 3598, 3600, 3838, 4375, 4450, 4480 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

EXAMPLE

a(1)=1 because 1 and 3 are both in A002822.

PROG

(PARI) isokp(n) = isprime(6*n-1) && isprime(6*n+1);

isok(k) = isokp(k) && isokp(k+2); \\ Michel Marcus, May 15 2020

CROSSREFS

Cf. A002822, A173233.

Sequence in context: A102772 A018005 A080522 * A132332 A209001 A240619

Adjacent sequences:  A173229 A173230 A173231 * A173233 A173234 A173235

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov, Feb 13 2010

EXTENSIONS

Definition corrected, and sequence corrected (1158 inserted) by R. J. Mathar, May 02 2010

More terms from Jinyuan Wang, May 15 2020

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 September 18 13:54 EDT 2021. Contains 347527 sequences. (Running on oeis4.)