login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=1..53.

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.

Cf. A005728, A049807, A049808, A049809, A049810, A049811, A049812, A049813, A049814.

Sequence in context: A068713 A218549 A099523 * A158381 A163180 A091515

Adjacent sequences:  A049803 A049804 A049805 * A049807 A049808 A049809

KEYWORD

nonn

AUTHOR

Clark Kimberling

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 14 19:09 EDT 2020. Contains 336483 sequences. (Running on oeis4.)