OFFSET
1,3
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
a[n_] := If[IntegerQ @ Sqrt[n], 0, Length @ DeleteDuplicates @ ContinuedFraction[Sqrt[n]][[2]]]; Array[a, 100] (* Amiram Eldar, Nov 10 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved