login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105216 Maximum denominator among the n! ratios equal to the continued fractions which have the permutations of (1,2,3,...,n) for terms. 1
1, 2, 7, 31, 164, 1021, 7340, 59899, 547423, 5541311, 61560751, 744810564, 9749580487, 137299957892, 2069988277027, 33266800950301, 567742165061876, 10254686071781119, 195439907769223706, 3919618523321600065, 82517650453354285621, 1819502802723019762607 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Calculated by Vladeta Jovovic and David W. Wilson.
LINKS
FORMULA
a(n) ~ c * n!, where c = 1.69579254611555585961617066333... . - Vaclav Kotesovec, Aug 25 2014
MAPLE
r:= proc(l) local j; infinity; for j to nops(l) do l[j] +1/% od end: gl:= proc(n) local i, l; l:=[]; for i from 2 to n do l:= `if` (irem (i, 2)=0, [l[], i], [i, l[]]) od; [l[], 1] end: a:= n-> denom (r (gl (n))): seq (a(n), n=1..25); # Alois P. Heinz, Nov 18 2009
MATHEMATICA
r[l_] := Module[{j, f = Infinity}, For[j = 1, j <= Length[l], j++, f = l[[j]] + 1/f]; f];
gl[n_] := Module[{i, l = {}}, For[i = 2, i <= n, i++, l = If[Mod [i, 2] == 0, Append[l, i], Prepend[l, i]]]; Append[l, 1]];
a[n_] := Denominator [r[gl[n]]];
Table[a[n], {n, 1, 25}] (* Jean-François Alcover, Nov 18 2020, after Alois P. Heinz *)
CROSSREFS
Cf. A105151.
Sequence in context: A277396 A227119 A002872 * A260532 A193657 A007164
KEYWORD
nonn
AUTHOR
Leroy Quet, Apr 12 2005
EXTENSIONS
More terms from Alois P. Heinz, Nov 18 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)