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!)
A309277 Sums of two primes whose difference is squarefree. 1
5, 7, 8, 9, 12, 15, 16, 19, 20, 21, 24, 25, 28, 32, 33, 36, 39, 40, 43, 44, 45, 48, 52, 55, 56, 60, 61, 63, 64, 68, 69, 72, 73, 75, 76, 80, 81, 84, 88, 91, 92, 96, 99, 100, 104, 105, 108, 109, 111, 112, 115, 116, 120, 124, 128, 132, 133, 136, 140, 141, 144 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
5 is in the sequence since 5 = 2 + 3 (both prime) and 3 - 2 = 1 is squarefree.
8 is in the sequence since 8 = 5 + 3 (both prime) and 5 - 3 = 2 is squarefree.
MATHEMATICA
Flatten[Table[If[Sum[(PrimePi[i] - PrimePi[i - 1]) (PrimePi[n - i] - PrimePi[n - i - 1]) MoebiusMu[n - 2 i]^2, {i, Floor[(n - 1)/2]}] > 0, n, {}], {n, 150}]]
CROSSREFS
Cf. A309152.
Sequence in context: A023726 A157724 A080644 * A180241 A047479 A080720
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jul 20 2019
STATUS
approved

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 9 11:22 EDT 2024. Contains 373239 sequences. (Running on oeis4.)