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.

Previous Showing 11-16 of 16 results.

A176501 a(n) = Farey(m; I) where m = Fibonacci(n + 1) and I = [1/n, 1].

Original entry on oeis.org

1, 2, 4, 9, 19, 50, 122, 317, 837, 2213, 5758, 15236, 40028, 105079, 276627, 727409, 1910685, 5020094, 13180380, 34600740, 90814431, 238288480, 625111687, 1639676484, 4300183922, 11275936787, 29564497466, 77507123132, 203175049457, 532552499826, 1395790412496
Offset: 1

Views

Author

Sameen Ahmed Khan, Apr 21 2010

Keywords

Comments

This sequence arises in the analytically obtained strict upper bound of the set of equivalent resistances formed by any conceivable network (series/parallel or bridge, or non-planar) of n equal resistors. Consequently it provides an strict upper bound of the sequences: A048211, A153588, A174283, A174284, A174285 and A174286. This sequence provides a better strict upper bound than A176499 but is harder to compute. [Corrected by Antoine Mathys, May 07 2019]
From Hugo Pfoertner, Jan 24 2021: (Start)
The claim that this sequence is a strict upper bound for the number of representable resistance values of any conceivable network is wrong. It only applies to purely serial-parallel networks, but it already fails when bridges are allowed, as described in A174283. Even more so if arbitrary nonplanar networks are allowed as in A337517. See the linked illustrations of the respective quotients.
But in contrast to A176499, which at least correctly bounds A048211, the terms a(5), ..., a(9) in this sequence are smaller than the corresponding terms from A048211 (a(n) vs. A048211(n): 19/22, 50/53, 122/131, 317/337, 837/869). (End)

Examples

			n = 5, I = [1/5, 1], m = Fibonacci(5 + 1) = 8, Farey(8) = 23, Farey(8; I) = 19
		

Crossrefs

Programs

  • Mathematica
    a[n_ /; n<4] := 2^(n-1); a[n_] := Module[{m = Fibonacci[n+1], v}, v = Reap[ Do[Sow[j/i], {i, n+1, m}, {j, 1, (i-1)/n}]][[2, 1]]; Total[ EulerPhi[ Range[m]]] - Length[v // Union]];
    Table[an = a[n]; Print["a(", n, ") = ", an]; an, {n, 1, 23}] (* Jean-François Alcover, Aug 30 2018, after Antoine Mathys *)
  • PARI
    farey(n) = sum(i=1, n, eulerphi(i)) + 1;
    a(n) = my(m=fibonacci(n + 1), count=0); for(b=n+1, m, for(a=1, (b-1)/n, if(gcd(a,b)==1, count++))); farey(m) - 1 - count; \\ Antoine Mathys, May 07 2019

Extensions

a(19)-a(27) from Antoine Mathys, Aug 10 2018
a(28)-a(31) from Antoine Mathys, May 07 2019

A051389 Number of resistance values that can be constructed using exactly n 1-ohm resistors in series or parallel but not with fewer resistors.

Original entry on oeis.org

1, 2, 4, 8, 20, 42, 102, 250, 610, 1486, 3710, 9228, 23050, 57718, 145288, 365820, 922194, 2327914, 5885800, 14890796, 37701452, 95550472, 242325118, 614869792, 1561228066, 3966071764, 10080113232, 25630109268, 65194419268, 165890640468
Offset: 1

Views

Author

Keywords

Comments

If x and y require xn and yn resistors respectively, then (x+y) and 1/(1/x + 1/y) require no more than (xn+yn). Inspired by a sci.math posting by Miguel A. Lerma (lerma(AT)math.nwu.edu).
Let A(n) be the set of resistances equivalent to a network of n 1-ohm resistors using only series and parallel combinations. Then A048211(n) = card(A(n)). Let L(n) be the set of resistances that first appear in A(n), i.e. L(n) = A(n) \ (A(1) U ... U A(n-1)). Then a(n) = card(L(n)). - Antoine Mathys, Nov 22 2024
If a resistance is equivalent to a n-resistor circuit, then it is equivalent to a 4n-resistor circuit. There is therefore no upper bound on the size of the networks to which it is equivalent. - Antoine Mathys, Nov 22 2024

Examples

			The a(1) = 1 resistance value is 1 ohm.
The a(2) = 2 resistance values are {1/2, 2}.
The a(3) = 4 resistance values are {1/3, 2/3, 3/2, 3}.
The a(4) = 8 resistance values are {1/4, 2/5, 3/5, 3/4, 4/3, 5/3, 5/2, 4}.
The a(5) = 20 resistance values are {1/5, 2/7, 3/8, 3/7, 4/7, 5/8, 5/7, 4/5, 5/6, 6/7, 7/6, 6/5, 5/4, 7/5, 8/5, 7/4, 7/3, 8/3, 7/2, 5}.
E.g. 6/5 is made from two resistors in series in parallel with three resistors in series, since 6/5 = 1/(1/2 + 1/3). It cannot be obtained using fewer resistors.
		

Crossrefs

Formula

a(n) = A153588(n) - A153588(n-1) for n > 1. - Hugo Pfoertner, Nov 04 2020

Extensions

a(15)-a(21) from Jon E. Schoenfield, Aug 28 2006
Definition corrected by Jon E. Schoenfield, Aug 27 2006
a(22)-a(23) from Graeme McRae, Aug 18 2007
a(24)-a(25) from Antoine Mathys, Mar 20 2017
Definition changed to say "exactly". - N. J. A. Sloane, Nov 07 2020
Definition clarified by Antoine Mathys, Nov 22 2024
a(26)-a(30) from Antoine Mathys, Dec 05 2024

A058351 Partial sums of A000084.

Original entry on oeis.org

0, 1, 3, 7, 17, 41, 107, 287, 809, 2341, 6965, 21101, 65031, 202939, 640441, 2039509, 6546861, 21158437, 68791923, 224839127, 738316629, 2434622357, 8058616301, 26765349429, 89173526191, 297942766331, 998072479961, 3351459203873
Offset: 0

Views

Author

N. J. A. Sloane, Dec 16 2000

Keywords

References

  • Z. A. Lomnicki, Two-terminal series-parallel networks, Adv. Appl. Prob., 4 (1972), 109-150.

Crossrefs

A176497 a(n) is the cardinality of the "Cross Set" which is the subset of distinct resistances that can be produced by a circuit of n unit resistors using only series or parallel combinations which cannot be decomposed as a single unit resistor in either series or parallel with a circuit of n-1 unit resistors.

Original entry on oeis.org

0, 0, 0, 1, 4, 9, 25, 75, 195, 475, 1265, 3135, 7983, 19697, 50003, 126163, 317629, 802945, 2035619, 5158039, 13084381, 33240845, 84478199, 214717585, 546235003, 1389896683, 3537930077, 9007910913, 22942258567, 58444273501
Offset: 1

Views

Author

Sameen Ahmed Khan, Apr 21 2010

Keywords

Comments

This sequence arises in the decomposition of the sets A(n + 1) of equivalent resistances, when n equal resistors are combined in series/parallel, into series parallel and cross sets respectively. The order of the set A(n) of equivalent resistances when n resistors are combined in series/parallel is given by the Sequence A048211: 1, 2, 4, 9, 22, 53, 131, 337, 869, ... Treating the elements of A(n) as single blocks the (n + 1)th resistor can be added either in series or in parallel.
We call these two sets as series set and parallel set respectively. One can also add the (n + 1)th resistor somewhere within the A(n) blocks, and we call this set as the cross set. The series and the parallel sets each have exactly A(n) number of configurations and the same number of equivalent resistances. All the elements of the parallel set are strictly less than 1 and that of the series set are strictly greater than 1. These two disjoint sets contribute 2*A(n) number of elements to A(n + 1) and are the source of 2n. It is the cross set which takes the count beyond 2^n to 2.53^n numerically (up to n = 22) and maximally to 2.61^n, strictly fixed by the Farey scheme. The cross set is not straightforward, as it is generated by placing the (n + 1)th resistor anywhere within the blocks of A(n). The order of the cross set is A(n + 1) - 2*A(n) leading to this sequence.

Examples

			A(1) has no cross set and the first term is defined to be zero; the cross sets for n = 2 and n = 3 are empty hence the second and third term are each zero. Noting that A(3) = 4 and A(4) = 9, the fourth term is 1. The fifth term is 4.
		

Crossrefs

Formula

a(n) = A048211(n) - 2*A048211(n-1).

Extensions

a(23) from Sameen Ahmed Khan, May 02 2010
a(24)-a(25) from Antoine Mathys, Mar 19 2017
a(26)-a(30) from Antoine Mathys, Dec 08 2024
Edited by Andrew Howroyd, Dec 08 2024

A340921 a(n) is the number of distinct resistances that can be produced using at most n unit resistors in a planar network.

Original entry on oeis.org

1, 2, 4, 8, 16, 36, 80, 194, 506, 1400, 4024, 11870, 35200, 104836, 311686, 929088, 2776618, 8321128, 24967712, 74985708
Offset: 0

Views

Author

Hugo Pfoertner and Rainer Rosenthal, Feb 14 2021

Keywords

Comments

The relation of this sequence to A340920 is the analog of the relation of A180414 to A337517.

Crossrefs

Formula

a(n) = A180414(n) for n <= 9, a(n) < A180414(n) for n >= 10.

Extensions

a(19) from Hugo Pfoertner, Mar 15 2021

A341536 Number of distinct resistances that can be produced using at most n unit resistors in series, parallel, bridge or fork configurations.

Original entry on oeis.org

1, 2, 4, 8, 16, 36, 80, 194, 500, 1342, 3623, 9835, 26412, 70505, 187805, 500627
Offset: 0

Views

Author

Rainer Rosenthal, Feb 14 2021

Keywords

Comments

Cumulative sequence based on A337516.

Crossrefs

Previous Showing 11-16 of 16 results.