login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Length of period of the continued fraction expansion of sqrt(-1+n^n).
1

%I #21 Jul 08 2024 22:13:08

%S 2,1,2,10,2,26,2,2,2,84531,2,531160,2,4738,2,3482830482,2,

%T 428195747108,2

%N Length of period of the continued fraction expansion of sqrt(-1+n^n).

%C If a(n) = 2 then (n^n - 1) is in A013642. - _Bernard Schott_, Sep 25 2019

%F a(n) = A003285(A048861(n)). - _Michel Marcus_, Sep 27 2019

%t Table[Length[Part[ContinuedFraction[Sqrt[ -1+u^u]], 2]], {u, 2, 15}]

%Y Cf. A003285, A048861.

%K nonn,more

%O 2,1

%A _Labos Elemer_, Nov 05 2002

%E a(17)-a(18) from _Chai Wah Wu_, Sep 24 2019

%E a(19)-a(20) from _Chai Wah Wu_, Sep 27 2019