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!)
A049806 Number of Farey fractions of order n that are <=1/2; cf. A049805. 9
1, 2, 3, 4, 6, 7, 10, 12, 15, 17, 22, 24, 30, 33, 37, 41, 49, 52, 61, 65, 71, 76, 87, 91, 101, 107, 116, 122, 136, 140, 155, 163, 173, 181, 193, 199, 217, 226, 238, 246, 266, 272, 293, 303, 315, 326, 349, 357, 378, 388, 404, 416, 442 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Farey[n_] := Union[Flatten[Join[{0}, Table[a/b, {b, n}, {a, b}]]]]; f[n_] := Length@ Select[ Farey@ n, # <= 1/2 &]; Array[f, 53] (* Robert G. Wilson v, Nov 14 2012 *)
a[n_] := Count[FareySequence[n], f_ /; f <= 1/2]; Array[a, 53] (* Jean-François Alcover, Sep 25 2018 *)
CROSSREFS
Partial sums + 1 of A023022.
Sequence in context: A218549 A354970 A099523 * A158381 A163180 A341270
KEYWORD
nonn
AUTHOR
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 12:33 EDT 2024. Contains 371969 sequences. (Running on oeis4.)