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.

A132329 Numbers that cannot be expressed as the difference of the squares of primes.

This page as a plain text file.
%I A132329 #6 Mar 09 2025 12:25:45
%S A132329 1,2,3,4,6,7,8,9,10,11,12,13,14,15,17,18,19,20,22,23,25,26,27,28,29,
%T A132329 30,31,32,33,34,35,36,37,38,39,41,42,43,44,46,47,49,50,51,52,53,54,55,
%U A132329 56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,75,76,77,78,79,80
%N A132329 Numbers that cannot be expressed as the difference of the squares of primes.
%C A132329 Complement of A124865.
%t A132329 lim=80;sp={4};i=2;Until[Prime[i]^2-(Prime[i]-2)^2>lim,AppendTo[sp,Prime[i]^2];i++];Complement[Range[lim],Union[Differences/@Subsets[sp,{2}]//Flatten]] (* _James C. McMahon_, Mar 08 2025 *)
%Y A132329 Cf. A124865, A090781.
%K A132329 nonn
%O A132329 1,2
%A A132329 _Rick L. Shepherd_, Aug 19 2007