A230044 Nonnegative numbers k such that k plus a perfect square is a triangular number.
0, 1, 2, 3, 5, 6, 9, 10, 11, 12, 14, 15, 17, 19, 20, 21, 24, 27, 28, 29, 30, 32, 35, 36, 39, 41, 42, 44, 45, 46, 50, 51, 53, 54, 55, 56, 57, 62, 65, 66, 69, 71, 72, 74, 75, 77, 78, 80, 82, 84, 87, 89, 90, 91, 95, 96, 100, 101, 104, 105, 107, 109, 110, 111, 116, 117, 119, 120, 122, 126, 127, 128
Offset: 1
Keywords
Examples
28 is triangular, and 25 is a square <= 28, and 28-25=3, so 3 is in sequence.
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Programs
-
PARI
B=bnfinit(z^2-8); is(n)=#bnfisintnorm(B,8*n+1) \\ Max Alekseyev, Oct 13 2013
Comments