The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054775 Positive multiples of 6 which are not the midpoint of a pair of twin primes. 0

%I #13 Sep 08 2022 08:45:01

%S 24,36,48,54,66,78,84,90,96,114,120,126,132,144,156,162,168,174,186,

%T 204,210,216,222,234,246,252,258,264,276,288,294,300,306,318,324,330,

%U 336,342,354,360,366,372,378,384,390,396,402,408,414,426,438,444,450,456,468,474

%N Positive multiples of 6 which are not the midpoint of a pair of twin primes.

%o (Magma) [ n: n in [6..600 by 6] | not IsPrime(n-1) or not IsPrime(n+1) ]; // _Klaus Brockhaus_, Aug 18 2010

%o (PARI) forstep(n=6,600,6,if(!(isprime(n-1)&&isprime(n+1)),print1(n,","))) \\ _Klaus Brockhaus_, Aug 18 2010

%Y Cf. A067611 (sequence divided by 6).

%K nonn

%O 1,1

%A Stuart M. Ellerstein (ellerstein(AT)aol.com), May 19 2000

%E Corrected by _Zak Seidov_ and _Klaus Brockhaus_, Aug 18 2010

%E Edited by _N. J. A. Sloane_, Aug 19 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 11:57 EDT 2024. Contains 373173 sequences. (Running on oeis4.)