OFFSET
0,3
COMMENTS
Records occur at n = 1, 2, 3, 5, 8, 41, 65, 80, 90, 183, 292, 467, 627, 1428, 1547, 1666, 1999, 3568, 4012, 5737, 7458, 12119, 13640, 14365, 21859, 28445, 37408, 38839, 40763, 50346, 50347, 92063, ...
LINKS
David A. Corneth, Table of n, a(n) for n = 0..9999 (First 3001 terms from Peter Kagey)
FORMULA
a(n) = A277278(n) - n.
EXAMPLE
a(1) = 0 via 1 = 1^2;
a(2) = 2 via 2 + (2+1) + (2+2) = 3^2;
a(6) = 4 via 6 + (6+4) = 4^2.
PROG
(Haskell)
a277516 n = a277278 n - n
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Kagey, Oct 19 2016
STATUS
approved