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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070195 Squarefree numbers in a pair of twin primes. 2
6, 30, 42, 102, 138, 282, 462, 570, 618, 642, 822, 858, 1230, 1290, 1302, 1482, 1698, 1722, 1878, 2082, 2130, 2238, 2310, 2382, 2658, 2730, 2802, 3390, 3462, 3558, 3918, 3930, 4002, 4218, 4242, 4422, 4638, 4722, 5010, 5442, 5478, 5502, 5658, 6090, 6198 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

n such that n is squarefree, n-1 and n+1 are primes.

Intersection of A005117 and A014574. - Michel Marcus, Mar 06 2014

Also, intersection of A077064 and A077067. - Zak Seidov, Mar 20 2016

All terms are multiple of 6. - Zak Seidov, Mar 20 2016

All terms == 6 mod 12. - Robert Israel, Mar 21 2016

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

MAPLE

select(t -> numtheory:-issqrfree(t) and isprime(t+1) and isprime(t-1),

[seq(i, i=6..10000, 12)]); # Robert Israel, Mar 21 2016

PROG

(PARI) {forstep(n=6, 8000, 12, if(issquarefree(n)&&isprime(n-1)&&isprime(n+1), print1(n", "))); } \\ Zak Seidov, Mar 20 2016

CROSSREFS

Cf. A005117, A014574, A077064, A077067. - Zak Seidov, Mar 20 2016

Sequence in context: A114649 A090126 A291566 * A241190 A276933 A110175

Adjacent sequences:  A070192 A070193 A070194 * A070196 A070197 A070198

KEYWORD

easy,nonn

AUTHOR

Benoit Cloitre and Labos Elemer, May 06 2002

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 November 19 00:12 EST 2018. Contains 317332 sequences. (Running on oeis4.)