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.

A110487 Squares of the form p*q - p - q + 2, where p and q are primes.

This page as a plain text file.
%I A110487 #8 Apr 20 2024 10:22:33
%S A110487 9,25,49,81,121,169,225,289,361,529,625,841,961,1225,1369,1521,1681,
%T A110487 1849,2025,2209,2401,2601,2809,3025,3481,3721,4225,4489,4761,5041,
%U A110487 5329,5929,6241,6889,7225,7921,8281,9025,9409,10201,10609,11449,11881,12769
%N A110487 Squares of the form p*q - p - q + 2, where p and q are primes.
%C A110487 Includes A108570 squares of lesser twin primes and A110284 squares of form 4p-3 where p is prime (q=5).
%t A110487 Lim=13000;f[{p_,q_}]:=p*q-p-q+2;Union[Select[f/@Subsets[Prime[Range[PrimePi[Lim]]], {2}],#<Lim&&IntegerQ[Sqrt[#]]&]] (* _James C. McMahon_, Apr 20 2024 *)
%Y A110487 Cf. A108570, A110284, A110484.
%K A110487 nonn
%O A110487 1,1
%A A110487 _Giovanni Teofilatto_, Sep 11 2005
%E A110487 Corrected and extended by _Ray Chandler_, Sep 13 2005