login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126261 a(n) is the numerator of the sum of the reciprocals of the positive integers k, k<=n, where every positive integer <= k and coprime to k is also coprime to n. 1
1, 3, 11, 7, 137, 5, 363, 49, 19, 37, 83711, 7, 1145993, 167, 19, 1321, 42142223, 65, 275295799, 19, 43, 2887, 444316699, 133, 127, 1177, 18469, 85, 9227046511387, 23, 290774257297357, 3877999, 212, 22737, 971, 229, 2040798836801833, 233731, 1039 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

EXAMPLE

The positive integers k, k <= 6, where every positive integer <=k and coprime to k is also coprime to 6, are 1,2,6. So a(6) = 5 is the numerator of 1 +1/2 +1/6 = 5/3.

MATHEMATICA

f[n_] := Select[Range[n], GCD[ #, n] == 1 &]; g[n_] := Plus @@ (1/# &) /@ Select[Range[n], Times @@ GCD[f[ # ], n] == 1 &]; Table[Numerator[g[n]], {n, 40}] (*Chandler*)

CROSSREFS

Cf. A126260, A126262.

Sequence in context: A119324 A006495 A112286 * A050097 A205120 A070613

Adjacent sequences:  A126258 A126259 A126260 * A126262 A126263 A126264

KEYWORD

frac,nonn

AUTHOR

Leroy Quet Dec 22 2006

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Dec 24 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 05:12 EST 2012. Contains 205694 sequences.