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!)
A127615 a(n) = denominator of the continued fraction which has the positive integers which are <= n and are coprime to n as its terms. The terms are written in order from 1 for the integer part, to n-1 for the final term of the continued fraction. 2
1, 1, 2, 3, 30, 5, 972, 115, 2751, 201, 5225670, 401, 701216922, 21376, 1084178, 2304261, 31268240559432, 89634, 9634381345852650, 9512947, 59351535853, 1422376141, 1708512949279640961732, 39380419, 59683863841431305060 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
The positive integers coprime to 8 and <= 8 are 1,3,5,7. So a(8) is the denominator of 1 +1/(3 +1/(5 +1/7)) = 151/115.
MATHEMATICA
f[n_] := Select[Range[n], GCD[ #, n] == 1 &]; g[n_] := Denominator[FromContinuedFraction[f[n]]]; Table[g[n], {n, 26}] (* Ray Chandler, Jan 22 2007 *)
CROSSREFS
Sequence in context: A328833 A109886 A277811 * A210417 A278048 A273467
KEYWORD
frac,nonn
AUTHOR
Leroy Quet, Jan 19 2007
EXTENSIONS
Extended by Ray Chandler, Jan 22 2007
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 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)