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!)
A226690 Irregular table read by rows: T(m,n) = Numerators of minimal distance between m elements of the Farey sequence F_n. 2
0, 1, 0, 1, 1, 0, 1, 1, 2, 1, 0, 1, 1, 5, 1, 3, 1, 0, 1, 2, 1, 3, 2, 7, 11, 3, 4, 1, 0, 1, 1, 1, 7, 1, 13, 1, 7, 19, 2, 5, 1, 0, 1, 2, 3, 1, 4, 9, 2, 5, 3, 16, 11, 4, 17, 23, 29, 5, 6, 1, 0, 1, 1, 3, 1, 9, 5, 1, 11, 17, 3, 25, 19, 1, 13, 33, 5, 27, 17, 41, 3, 7, 1, 0, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,9
COMMENTS
The first element of each row is 0 (because the distance from any element to itself is 0), the last element of each row is 1 (because the distance from 0 to 1 is 1).
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
Table begins:
0, 1;
0, 1/2, 1;
0, 1/6, 1/3, 2/3, 1;
0, 1/12, 1/4, 5/12, 1/2, 3/4, 1;
Consider the third row. The Farey series for 3 is (0, 1/3, 1/2, 2/3, 1). 0 is always first. The closest two elements are 1/3 and 1/2, so 1/6 is next. The closest three are 1/3 and 2/3 with distance 1/3. Including either endpoint gives distance 2/3; both gives distance 1.
PROG
(PARI) Farey(n)=my(v=List([0, 1])); for(a=2, n, for(b=1, a-1, listput(v, b/a))); vecsort(Vec(v), , 8)
f(n)=my(F=Farey(n)); vector(#F, k, my(b=1); for(i=k, #F, b=min(F[i]-F[i-k+1], b)); b)
for(n=1, 9, v=apply(numerator, f(n)); for(i=1, #v, print1(v[i]", ")))
CROSSREFS
Cf. A226691.
Sequence in context: A355576 A198062 A347617 * A318557 A245683 A273712
KEYWORD
nonn,tabf
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 May 11 03:27 EDT 2024. Contains 372388 sequences. (Running on oeis4.)