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.

Showing 1-2 of 2 results.

A211996 Number of ordered pairs (i,j) such that i*j=n and i+j is a square.

Original entry on oeis.org

0, 0, 2, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 4, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 4, 1, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0
Offset: 1

Views

Author

Michel Marcus, Oct 25 2012

Keywords

Comments

a(n) = 1 for n > 0 in A141046.
a(8820) = 8 and it is the only term in the first 10000 terms that is greater than 6. There are 977 terms in the first 10000 terms that are greater than zero. - Harvey P. Dale, Nov 08 2012

Examples

			For n=3, the pairs (a,b) such that a*b=3 are (1,3) and (3,1). Both pairs add up to a square, so a(3) = 2.
		

Crossrefs

Programs

Formula

Sum_{k=1..n} a(k) = c * n^(3/4) + O(sqrt(n)), where c = A377731 (De Koninck et al., 2024). - Amiram Eldar, Nov 05 2024

A218381 Numbers k such that A211996(k) is not zero.

Original entry on oeis.org

3, 4, 8, 14, 15, 18, 20, 24, 28, 35, 39, 46, 48, 55, 60, 63, 64, 66, 68, 80, 84, 94, 99, 100, 114, 120, 124, 126, 128, 136, 138, 143, 144, 150, 154, 155, 156, 158, 168, 180, 183, 195, 196, 203, 220, 224, 234, 238, 240, 243, 255, 258, 260, 275, 284, 288, 291
Offset: 1

Views

Author

Michel Marcus, Oct 27 2012

Keywords

Comments

For any n, the equation x^4 + a(n)*y^4 = z^2 is solvable in integers. - Arkadiusz Wesolowski, Aug 15 2013
The asymptotic density of this sequence is 0 (De Koninck et al., 2024). - Amiram Eldar, Nov 05 2024

Crossrefs

Programs

  • Mathematica
    q[k_] := DivisorSum[k, 1 &, #^2 <= k && IntegerQ[Sqrt[# + k/#]] &] > 0; Select[Range[300], q] (* Amiram Eldar, Nov 05 2024 *)
  • PARI
    is(k) = k > 1 && fordiv(k, d, if(issquare(d + k/d), return(1)); if(d^2 > k, return(0))); \\ Amiram Eldar, Nov 05 2024
Showing 1-2 of 2 results.