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.

A078393 Squarefree numbers which can be written as sum of a positive square and a positive cube.

Original entry on oeis.org

2, 5, 10, 17, 26, 31, 33, 37, 43, 57, 65, 73, 82, 89, 91, 101, 113, 122, 127, 129, 134, 141, 145, 161, 170, 174, 177, 185, 197, 206, 217, 223, 226, 233, 241, 246, 257, 265, 269, 283, 290, 321, 337, 347, 353, 359, 362, 379, 381, 385, 401, 407, 427, 442, 443
Offset: 1

Views

Author

Reinhard Zumkeller, Nov 25 2002

Keywords

Examples

			7*13 = 91 = 8^2 + 3^3, therefore 91 is a term.
		

Crossrefs

Intersection of A005117 and A055394.
Cf. A066649.

Programs

  • Mathematica
    spspcQ[{a_,b_}]:=AllTrue[{Sqrt[a],Surd[b,3]},IntegerQ]||AllTrue[{Sqrt[ b],Surd[ a,3]},IntegerQ]; Select[Range[500],SquareFreeQ[#] && Length[ Select[IntegerPartitions[#,{2}],spspcQ]]>0&] (* Harvey P. Dale, Jan 13 2019 *)