cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-10 of 61 results. Next

A358886 Number of regions formed inside a square with edge length 1 by the straight line segments mutually connecting all vertices and points that divide the sides into segments with lengths equal to the Farey series of order n = A006842(n,k)/A006843(n,k), k = 1..A005728(n).

Original entry on oeis.org

4, 56, 1040, 6064, 53104, 115496, 629920, 1457744, 3952264, 6835568
Offset: 1

Views

Author

Keywords

Comments

The number of points along each edge is given by A005728(n).
We call this graph the Completed Farey Diagram of order (n,k). The (ordinary) Farey diagram Farey(n,k) is a subgraph. In the latter graph, not all pairs of boundary points are joined by lines.

Crossrefs

Cf. A358888 (edges), A358887 (vertices), A358889 (k-gons), A006842, A006843, A005728, A358882.
The Farey Diagrams Farey(m,n) are studied in A358298-A358307 and A358882-A358885, the Completed Farey Diagrams of order (m,n) in A358886-A358889.

Formula

a(n) = A358888(n) - A358887(n) + 1 by Euler's formula.

A358889 Table read by rows: T(n,k) = number of k-gons, k >= 3, formed inside a square with edge length 1 by the straight line segments mutually connecting all vertices and points that divide the sides into segments with lengths equal to the Farey series of order n = A006842(n,m)/A006843(n,m), m = 1..A005728(n).

Original entry on oeis.org

4, 48, 8, 712, 304, 24, 3368, 2400, 280, 16, 27424, 20360, 4784, 504, 32, 56000, 47088, 10912, 1400, 88, 8, 292424, 255608, 69368, 11504, 960, 56, 658800, 590208, 175856, 30160, 2496, 200, 24, 1748112, 1593912, 506496, 93584, 9616, 520, 24, 2981448, 2778456, 890368, 166912, 17192, 1144, 48
Offset: 1

Views

Author

Keywords

Comments

The number of points along each edge is given by A005728(n).

Examples

			The table begins:
 4;
 48,      8;
 712,     304,     24;
 3368,    2400,    280,    16;
 27424,   20360,   4784,   504,    32;
 56000,   47088,   10912,  1400,   88,    8;
 292424,  255608,  69368,  11504,  960,   56;
 658800,  590208,  175856, 30160,  2496,  200,  24;
 1748112, 1593912, 506496, 93584,  9616,  520,  24;
 2981448, 2778456, 890368, 166912, 17192, 1144, 48;
.
.
		

Crossrefs

Cf. A358886 (regions), A358887 (vertices), A358888 (edges), A006842, A006843, A005728, A358885.
The Farey Diagrams Farey(m,n) are studied in A358298-A358307 and A358882-A358885, the Completed Farey Diagrams of order (m,n) in A358886-A358889.

Formula

Sum of row n = A358886(n).

A358887 Number of vertices formed inside a square with edge length 1 by the straight line segments mutually connecting all vertices and points that divide the sides into segments with lengths equal to the Farey series of order n = A006842(n,k)/A006843(n,k), k = 1..A005728(n).

Original entry on oeis.org

5, 37, 705, 4549, 42357, 94525, 531485, 1250681, 3440621, 5985201
Offset: 1

Views

Author

Keywords

Comments

The number of points along each edge is given by A005728(n).

Crossrefs

Cf. A358888 (edges), A358886 (regions), A358889 (k-gons), A006842, A006843, A005728, A358882, A358883.
The Farey Diagrams Farey(m,n) are studied in A358298-A358307 and A358882-A358885, the Completed Farey Diagrams of order (m,n) in A358886-A358889.

Formula

a(n) = A358888(n) - A358886(n) + 1 by Euler's formula.

A240877 Sum of the denominators of the Farey series of order n (A006843).

Original entry on oeis.org

1, 2, 4, 10, 18, 38, 50, 92, 124, 178, 218, 328, 376, 532, 616, 736, 864, 1136, 1244, 1586, 1746, 1998, 2218, 2724, 2916, 3416, 3728, 4214, 4550, 5362, 5602, 6532, 7044, 7704, 8248, 9088, 9520, 10852, 11536, 12472, 13112, 14752, 15256, 17062, 17942, 19022, 20034, 22196, 22964, 25022, 26022
Offset: 0

Views

Author

Robert G. Wilson v, Apr 13 2014

Keywords

Comments

All terms except a(0) are even.

Crossrefs

Programs

  • Mathematica
    Farey[n_] := Union[ Flatten[ Join[{0}, Table[a/b, {b, n}, {a, b}]]]]; Table[ Total[ Denominator[ Farey[ n]]], {n, 0, 50}]
  • PARI
    first(n)=my(s=1,v=vector(n+1)); v[1]=1; forfactored(k=1,n, v[k[1]+1]=s+=k[1]*eulerphi(k)); v \\ Charles R Greathouse IV, Dec 27 2017

Formula

a(n) = 1 + Sum_{k=1..n} k*A000010(k). - Isaac Saffold, Dec 03 2017
a(n) = 1 + A011755(n). - Michel Marcus, Dec 23 2017
a(n) ~ c * n^3, where c = 2/Pi^2 (A185197). - Amiram Eldar, Dec 01 2023

A358888 Number of edges formed inside a square with edge length 1 by the straight line segments mutually connecting all vertices and points that divide the sides into segments with lengths equal to the Farey series of order n = A006842(n,k)/A006843(n,k), k = 1..A005728(n).

Original entry on oeis.org

8, 92, 1744, 10612, 95460, 210020, 1161404, 2708424, 7392884, 12820768
Offset: 1

Views

Author

Keywords

Comments

The number of points along each edge is given by A005728(n).
See A358886 and A358887 for images of the square.

Crossrefs

Cf. A358886 (regions), A358887 (vertices), A358889 (k-gons), A006842, A006843, A005728, A358882, A358884.
The Farey Diagrams Farey(m,n) are studied in A358298-A358307 and A358882-A358885, the Completed Farey Diagrams of order (m,n) in A358886-A358889.

Formula

a(n) = A358886(n) + A358887(n) - 1 by Euler's formula.

A358948 Number of regions formed inside a triangle with edge length 1 by the straight line segments mutually connecting all vertices and points that divide the sides into segments with lengths equal to the Farey series of order n = A006842(n,k)/A006843(n,k), k = 1..A005728(n).

Original entry on oeis.org

1, 12, 228, 1464, 12516, 29022, 153564, 364650, 996672, 1750326, 5274156, 7761498
Offset: 1

Views

Author

Keywords

Comments

The number of points along each edge is given by A005728(n).

Crossrefs

Cf. A358949 (vertices), A358950 (edges), A358951 (k-gons), A358886, A006842, A006843, A005728, A358882.

Formula

a(n) = A358950(n) - A358949(n) + 1 by Euler's formula.

A358949 Number of vertices formed inside a triangle with edge length 1 by the straight line segments mutually connecting all vertices and points that divide the sides into segments with lengths equal to the Farey series of order n = A006842(n,k)/A006843(n,k), k = 1..A005728(n).

Original entry on oeis.org

3, 10, 148, 1111, 9568, 23770, 126187, 308401, 855145, 1521733, 4591405, 6831040
Offset: 1

Views

Author

Keywords

Comments

The number of points along each edge is given by A005728(n).

Crossrefs

Cf. A358948 (regions), A358950 (edges), A358951 (k-gons), A358887, A006842, A006843, A005728, A358882.

Formula

a(n) = A358950(n) - A358948(n) + 1 by Euler's formula.

A358951 Irregular table read by rows: T(n,k) = number of k-gons, k >= 3, formed inside a triangle with edge length 1 by the straight line segments mutually connecting all vertices and points that divide the sides into segments with lengths equal to the Farey series of order n = A006842(n,m)/A006843(n,m), m = 1..A005728(n).

Original entry on oeis.org

1, 12, 180, 42, 6, 810, 576, 72, 6, 6786, 4932, 744, 48, 6, 13662, 12522, 2568, 258, 12, 72582, 64932, 14376, 1632, 36, 6, 164484, 155088, 38688, 5958, 414, 18, 439524, 422370, 114804, 18462, 1392, 120, 750108, 749928, 211518, 35226, 3336, 204, 6, 2265462, 2240994, 647184, 109602, 10230, 666, 18
Offset: 1

Views

Author

Keywords

Comments

The number of points along each edge is given by A005728(n).

Examples

			The table begins:
1;
12;
180, 42, 6;
810, 576, 72, 6;
6786, 4932, 744, 48, 6;
13662, 12522, 2568, 258, 12;
72582, 64932, 14376, 1632, 36, 6;
164484, 155088, 38688, 5958, 414, 18;
439524, 422370, 114804, 18462, 1392, 120;
750108, 749928, 211518, 35226, 3336, 204, 6;
2265462, 2240994, 647184, 109602, 10230, 666, 18;
3263436, 3312270, 990072, 176172, 18294, 1188, 66;
.
.
		

Crossrefs

Cf. A358948 (regions), A358949 (vertices), A358950 (edges), A358889, A006842, A006843, A005728, A358882.

Formula

Sum of row n = A358948(n).

A278046 Let v = list of denominators of Farey series of order n (see A006843); a(n) = sum of products of adjacent terms of v.

Original entry on oeis.org

1, 4, 18, 44, 124, 186, 424, 636, 1038, 1378, 2368, 2852, 4516, 5510, 7030, 8734, 12542, 14168, 19526, 22206, 26658, 30728, 40342, 44190, 54590, 61402, 72328, 80196, 99684, 105644, 129514, 143162, 161422, 176926, 201566, 214538, 255386, 277160, 307736, 329096, 384856, 402412, 466826, 499166
Offset: 1

Views

Author

N. J. A. Sloane, Nov 22 2016

Keywords

Comments

Note that the sum of the reciprocals of these products is 1.

Examples

			When n = 4, v = [1,4,3,2,3,4,1], so a(4) = 1*4 + 4*3 + 3*2 + 2*3 + 3*4 + 4*1 = 44.
		

Crossrefs

Programs

  • Maple
    Farey := proc(n) sort(convert(`union`({0}, {seq(seq(m/k, m=1..k), k=1..n)}), list)) end:
    ans:=[];
    for n from 1 to 50 do
    t1:=denom(Farey(n));
    t2:=add( t1[i]*t1[i+1],i=1..nops(t1)-1);
    ans:=[op(ans),t2];
    od:
    ans;

A358950 Number of edges formed inside a triangle with edge length 1 by the straight line segments mutually connecting all vertices and points that divide the sides into segments with lengths equal to the Farey series of order n = A006842(n,k)/A006843(n,k), k = 1..A005728(n).

Original entry on oeis.org

3, 21, 375, 2574, 22083, 52791, 279750, 673050, 1851816, 3272058, 9865560, 14592537
Offset: 1

Views

Author

Keywords

Comments

The number of points along each edge is given by A005728(n).
See A358948 and A358949 for images of the square.

Crossrefs

Cf. A358948 (regions), A358949 (vertices), A358951 (k-gons), A358888, A006842, A006843, A005728, A358882.

Formula

a(n) = A358948(n) + A358949(n) - 1 by Euler's formula.
Showing 1-10 of 61 results. Next