cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A309292 Numbers that can be written as the sum of two primes, p, q, where p < q such that q^2 - p^2 is squarefree.

This page as a plain text file.
%I A309292 #10 Jul 21 2019 13:25:26
%S A309292 5,7,15,19,21,33,39,43,55,61,69,73,91,105,109,111,115,133,141,159,165,
%T A309292 181,183,195,199,201,213,231,235,241,253,259,271,273,285,295,309,313,
%U A309292 339,349,381,385,399,403,411,421,433,435,451,465,469,489,493,501,505
%N A309292 Numbers that can be written as the sum of two primes, p, q, where p < q such that q^2 - p^2 is squarefree.
%e A309292 5 is in the sequence since 5 = 2 + 3 (both prime) and since 3^2 - 2^2 = 5 is squarefree.
%e A309292 7 is in the sequence since 7 = 2 + 5 (both prime) and since 5^2 - 2^2 = 21 is squarefree.
%t A309292 Flatten[Table[If[Sum[(PrimePi[i] - PrimePi[i - 1]) (PrimePi[n - i] - PrimePi[n - i - 1]) MoebiusMu[(n - i)^2 - i^2]^2, {i, Floor[(n - 1)/2]}] > 0, n, {}], {n, 500}]]
%Y A309292 Cf. A309277.
%K A309292 nonn
%O A309292 1,1
%A A309292 _Wesley Ivan Hurt_, Jul 21 2019