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.

A055745 Squarefree numbers not of form ab + bc + ca for 1 <= a <= b <= c (probably the list is complete).

Original entry on oeis.org

1, 2, 6, 10, 22, 30, 42, 58, 70, 78, 102, 130, 190, 210, 330, 462
Offset: 1

Views

Author

Keywords

References

  • Maohua Le, A note on positive integer solutions of the equation xy+yz+zx=n, Publ. Math. Debrecen 52 (1998) 159-165; Math. Rev. 98j:11016.

Crossrefs

Programs

  • Mathematica
    solQ[n_, x_] := Reduce[1 <= y <= z && n == x*y + y*z + z*x, {y, z}, Integers] =!= False; solQ[n_] := Catch[xm = Ceiling[(n-1)/2]; For[x = 1, x <= xm, x++, Which[ solQ[n, x] === True, Throw[True], x == xm, Throw[False]]]] ; solQ[1] = False; Reap[ Do[ If[ SquareFreeQ[n], If[! solQ[n] , Print[n]; Sow[n]]], {n, 1, 500}]][[2, 1]] (* Jean-François Alcover, Jun 15 2012 *)