login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A082658 Integers expressible as the sum of a square and a triangular number in exactly two distinct ways. 4
7, 15, 22, 26, 28, 31, 40, 45, 52, 55, 59, 61, 67, 79, 85, 87, 92, 94, 100, 102, 103, 106, 114, 115, 124, 130, 140, 142, 147, 155, 157, 159, 166, 175, 178, 180, 184, 187, 189, 190, 191, 197, 202, 205, 206, 210, 211, 214, 220, 224, 231, 232, 240, 241, 246, 247 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

It is assumed here that 0 is a square but not a triangular number. - Amiram Eldar, Dec 08 2019

LINKS

Amiram Eldar, Table of n, a(n) for n = 1..10000

EXAMPLE

a(4) = 26 because 26 = 1 + 25; 26 = 10 + 16.

MATHEMATICA

aQ[n_] := Length @ Solve[x^2 + y (y + 1)/2 == n && x >= 0 && y > 0, {x, y}, Integers] == 2; Select[Range[250], aQ] (* Amiram Eldar, Dec 08 2019 *)

CROSSREFS

Cf. A000217, A000290, A082657, A082659, A082660.

Sequence in context: A346197 A274700 A022552 * A022389 A041225 A128840

Adjacent sequences: A082655 A082656 A082657 * A082659 A082660 A082661

KEYWORD

nonn

AUTHOR

Jason Earls, May 17 2003

EXTENSIONS

Name clarified by Amiram Eldar, Dec 08 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 21 18:35 EDT 2023. Contains 361410 sequences. (Running on oeis4.)