%I A062345
%S A062345 1,2,1,2,10,2,19,2,25,2,156,2,149,2,580,2,716,2,6461,2,2485,2,123256,2,
64,
%T A062345 2,8638,2,722190,2,3804214,2,1783536,2,3550696,2
%N A062345 Length of period of continued fraction expansion of square root of 3^n-1.
%e A062345 The period of sqrt(242) contains 10 terms: [1,1,3,1,14,1,3,1,1,30]
%p A062345 with(numtheory): [seq(nops(cfrac(sqrt(3^k-1),'periodic','quotients')[2]),
k=1..16)];
%t A062345 Table[Length[Last[ContinuedFraction[Sqrt[ -1+3^u]]]], {u, 1, 36}]
%Y A062345 Cf. A059866, A059926, A059927, A062328.
%Y A062345 Sequence in context: A002079 A078357 A086382 this_sequence A077098 A069238
A165313
%Y A062345 Adjacent sequences: A062342 A062343 A062344 this_sequence A062346 A062347
A062348
%K A062345 nonn
%O A062345 1,2
%A A062345 Labos E. (labos(AT)ana.sote.hu), Jul 13 2001
|