OFFSET
0,8
COMMENTS
Related to period-1 continued fractions [z,z,z,...].
A124808 gives number of numbers m <= n with a(m)=1. - Reinhard Zumkeller, Nov 08
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..1000 (corrected by Sean A. Irvine)
EXAMPLE
a(7)=5 since 7^2 + 1 = 50 = 25*2 = (5^2)*2.
PROG
(PARI) a(n) = core(n^2+1, 1)[2]; \\ Michel Marcus, Nov 12 2023
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Marc LeBrun, Jan 25 2001
STATUS
approved