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-9 of 9 results.

A337517 a(n) is the number of distinct resistances that can be produced from a circuit with exactly n unit resistors.

Original entry on oeis.org

1, 1, 2, 4, 9, 23, 57, 151, 427, 1263, 3823, 11724, 36048, 110953, 342079, 1064468, 3341067, 10583564, 33727683, 107931482, 346615834
Offset: 0

Views

Author

Rainer Rosenthal and Hugo Pfoertner, Oct 29 2020

Keywords

Comments

One can view a circuit with n unit resistors as a multigraph G with n edges and a pair P of distinguished nodes. Every edge of the graph must be contained in a path connecting the two distinguished nodes.
In case n > 0, a(n) counts all resistances R(G, P), which are rational numbers by Kirchhoff's laws. In case n = 0, the graph G consists of only two pair P nodes, and there is only one resistance: oo = infinity; so a(0) = 1. In the OEIS, there are already sequences that count the possible resistances of circuits of certain types (for the definitions see A337516).
OEIS | type | 1 2 3 4 5 6 7 8 9 10 11 12 13
---------+------+--------------------------------------------------------------
A048211 | SP | [1] 2 4 9 22 53 131 337 869 2213 5691 14517 37017
A174283 | SPB | 1 2 4 9 23 [57] 151 415 1157 3191 8687 23199 61677
A337516 | SPBF | 1 2 4 9 23 57 151 [421] 1202 3397 9498 25970 70005
A337517 | all | 1 2 4 9 23 57 151 [427] 1263 3823 11724 36048 110953
The table shows the number of different resistances, which grows with the complexity of the circuits. Values in square brackets mark the beginning of the newly explored range. Values a(n) up to n = 7 are fully classified, and have one of the given types, i.e., they can be computed by the functions Ser(), Par(), Bri(), and Frk() defined in A337516. For a(n), n >= 8, the theory in A180414 has to be applied.
Note: The 'set counted by A180414(n)' is the union of all 'sets counted by A337517(k) for k = 0 .. n'.
Admissible networks (G, P) are those defined in the Karnofsky paper (A180414).

Examples

			For a(n) up to n = 7 see the above mentioned sequences.
		

Crossrefs

Extensions

a(8)-a(14) from Andrew Howroyd, Oct 31 2020
a(15)-a(16) from Hugo Pfoertner, Dec 06 2020
a(17) from Hugo Pfoertner, Dec 09 2020
a(18) from Hugo Pfoertner, Apr 09 2021
a(19) from Zhao Hui Du, May 15 2023
a(20) from Zhao Hui Du, May 23 2023

A174283 Number of distinct resistances that can be produced using n equal resistors in, series, parallel and/or bridge configurations.

Original entry on oeis.org

1, 2, 4, 9, 23, 57, 151, 415, 1157, 3191, 8687, 23199, 61677, 163257, 432541, 1146671, 3039829
Offset: 1

Views

Author

Sameen Ahmed Khan, Mar 15 2010

Keywords

Comments

This sequence is a variation on A048211, which uses only series and parallel combinations. Since a bridge circuit requires minimum of five resistances the first four terms coincide. For the definition of "bridge" see A337516.

Examples

			Example 1: Five unit resistors: each arm of the bridge has one unit resistor, leading to an equivalent resistance of 1; so the set is {1} and its order is 1. Thus a(5) = A048211(5) + 1 = 23.
Example 2: Six unit resistors: a bridge with 6 resistors yields A174285(6) = 3 different resistances and the series parallel combinations give A048211(6) = 53 resistances, but resistance 1 is counted twice. The union of the forementioned resistances has cardinality 53+3-1 = 55. There are two more circuits to be considered: the bridge with five unit resistors and the sixth unit resistor either in parallel (value 1/2) or in series (value 2). Both values 1/2 and 2 are not counted by A048211(6) or A174285(6), so the total is 55 + 2 = 57. - _Rainer Rosenthal_, Oct 25 2020
		

Crossrefs

Extensions

a(8) corrected and a(9)-a(17) from Rainer Rosenthal, Oct 29 2020

A174286 Number of distinct resistances that can be produced using at most n equal resistors in series and/or parallel, confined to the five arms (four arms and the diagonal) of a bridge configuration. Since the bridge requires a minimum of five resistors, the first four terms are zero.

Original entry on oeis.org

0, 0, 0, 0, 1, 3, 19, 75, 291, 985, 3011, 8659, 24319, 65899, 176591, 464451, 1211185
Offset: 1

Views

Author

Sameen Ahmed Khan, Mar 15 2010

Keywords

Examples

			Example 1: Five equal unit resistors. Each arm of the bridge has one unit resistor, leading to an equivalent resistance of 1; so the set is {1} and its order is 1. Example 2: Six equal unit resistors. Four arms have one unit resistor each and the fifth arm has two unit resistors. Two resistors in the same arm, when combined in series and parallel result in 2 and 1/2 respectively (corresponding to 2: {1/2, 2} in A048211). The set {1/2, 2}, in the diagonal results in {1}. Set {1/2, 2} in any of the four arms results in {11/13, 13/11}. Consequently, with six equal resistors, we have the set {11/13, 1, 13/11}, whose order is 3. Union of the previous terms is {1} and the union with these three is again {11/13, 1, 13/11}. So the terms for five and six resistors are 1 and 3 respectively.
		

Crossrefs

Programs

Extensions

From Stampfli's paper, a(8) corrected and a(9)-a(12) added by Eric M. Schmidt, Sep 09 2017
Name edited by Eric M. Schmidt, Sep 09 2017
a(13)-a(17) added by Rainer Rosenthal, Feb 05 2021

A176502 a(n) = 2*Farey(m; I) - 1 where m = Fibonacci (n + 1) and I = [1/n, 1].

Original entry on oeis.org

1, 3, 7, 17, 37, 99, 243, 633, 1673, 4425, 11515, 30471, 80055, 210157, 553253, 1454817, 3821369, 10040187, 26360759, 69201479, 181628861, 476576959, 1250223373, 3279352967, 8600367843, 22551873573, 59128994931, 155014246263, 406350098913, 1065104999651
Offset: 1

Views

Author

Sameen Ahmed Khan, Apr 21 2010

Keywords

Comments

This sequence provides a 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 A176500 but is harder to compute. [Corrected by Antoine Mathys, May 07 2019]
The claim that this sequence is a strict upper bound for the number of representable resistance values of any conceivable network is incorrect for networks with more than 10 resistors, in which non-planar configurations can also occur. Whether the sequence provides at least a valid upper bound for planar networks with generalized bridge circuits (A337516) is difficult to decide on the basis of the insufficient number of terms in A174283 and A337516. See the linked illustrations of the respective quotients. - Hugo Pfoertner, Jan 25 2021

Examples

			n = 5, , I = [1/5, 1], m = Fibonacci(6) = 8, Farey(8) = 23, Farey(8; I) = 19, Grand Set(5) = 37.
		

Crossrefs

Programs

  • Mathematica
    a1[n_ /; n<4] := 2^(n-1); a1[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]];
    a[n_] := 2 a1[n] - 1;
    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;
    a176501(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;
    a(n) = 2 * a176501(n) - 1; \\ Antoine Mathys, May 07 2019

Formula

a(n) = 2 * A176501(n) - 1. - Antoine Mathys, Aug 07 2018

Extensions

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

A176500 a(n) = 2*Farey(Fibonacci(n + 1)) - 3.

Original entry on oeis.org

1, 3, 7, 19, 43, 115, 279, 719, 1879, 4911, 12659, 33235, 86715, 226315, 592767, 1551791, 4060203, 10630767, 27825227, 72843667, 190710291, 499271047, 1307051711, 3421933647, 8958716547, 23453948495, 61403187051, 160755514791, 420862602279, 1101832758583
Offset: 1

Views

Author

Sameen Ahmed Khan, Apr 21 2010

Keywords

Comments

This sequence provides a 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. A176502 provides a better strict upper bound but is harder to compute. [Corrected by Antoine Mathys, Jul 12 2019]
Farey(n) = A005728(n). - Franklin T. Adams-Watters, May 12 2010
The claim that this sequence is a strict upper bound for the number of representable resistance values of any conceivable network is incorrect for networks with more than 11 resistors, in which non-planar configurations can also occur. Whether the sequence provides at least a valid upper bound for planar networks with generalized bridge circuits (A337516) is difficult to decide on the basis of the insufficient number of terms in A174283 and A337516. See the linked illustrations of the respective quotients. - Hugo Pfoertner, Jan 24 2021

Examples

			n = 5, m = Fibonacci(5 + 1) = 8, Farey(8) = 23, 2Farey(m) - 3 = 43.
		

Crossrefs

Programs

  • Magma
    [2*(&+[EulerPhi(k):k in [1..Fibonacci(n+1)]])-1:n in [1..30]]; // Marius A. Burtea, Jul 26 2019
  • Mathematica
    a[n_] := 2 Sum[EulerPhi[k], {k, 1, Fibonacci[n+1]}] - 1;
    Table[an = a[n]; Print[an]; an, {n, 1, 30}] (* Jean-François Alcover, Nov 03 2018, from PARI *)
  • PARI
    a(n) = 2*sum(k=1,fibonacci(n+1),eulerphi(k))-1 \\ Charles R Greathouse IV, Oct 07 2016
    

Formula

a(n) = 2 * A176499(n) - 3.

Extensions

a(26)-a(28) from Sameen Ahmed Khan, May 02 2010
a(29)-a(30) from Antoine Mathys, Aug 06 2018

A338573 Array read by ascending antidiagonals: T(m,n) (m, n >= 1) is the minimum number of unit resistors needed to produce resistance m/n.

Original entry on oeis.org

1, 2, 2, 3, 1, 3, 4, 3, 3, 4, 5, 2, 1, 2, 5, 6, 4, 4, 4, 4, 6, 7, 3, 4, 1, 4, 3, 7, 8, 5, 2, 5, 5, 2, 5, 8, 9, 4, 5, 3, 1, 3, 5, 4, 9, 10, 6, 5, 5, 5, 5, 5, 5, 6, 10, 11, 5, 3, 2, 5, 1, 5, 2, 3, 5, 11, 12, 7, 6, 6, 5, 5, 5, 5, 6, 6, 7, 12, 13, 6, 6, 4, 6, 4, 1, 4, 6, 4, 6, 6, 13
Offset: 1

Views

Author

Rainer Rosenthal, Nov 05 2020

Keywords

Comments

Karnofsky (2004, p. 5): "[...] if some circuit has resistance m/n then some other circuit likely has n/m. In fact, for 9 or fewer resistors, this symmetry is perfect. However, for 10 resistors the following values are achieved, but not their inverses: 95/106, 101/109, 98/103, 97/98, 103/101, 97/86, 110/91, 103/83, 130/101, 103/80, 115/89, 106/77, 109/77, 98/67, 101/67". That means, that T(m,n) = T(n,m), if T(m,n) <= 9.
This starts with the values of A113881, but the Karnofsky comment says that T(n,m) is not symmetric, whereas the count of tiles in A113881 is. - R. J. Mathar, Nov 06 2020
The first difference where T(m,n) = T(n,m), but differs from the corresponding entry of A113881 occurs for (n,m) = (154,167) and (n,m) = (167,154), both representable by networks with non-planar graphs of 11 resistors, whereas A113881 counts 12 tiles. See Pfoertner link for illustration of more differences. - Hugo Pfoertner, Nov 13 2020

Examples

			T(1,2) = 2: at least 2 unit resistors in parallel are needed for resistance 1/2.
T(2,1) = 2: at least 2 unit resistors in series are needed for resistance 2 = 2/1.
T(11,13) = 6: the following "bridge" has resistance Bri(Par(1,1),1,1,1,1) = 11/13 (see A337516 for definitions):
.
                  (+)
                  / \
              ---*   \
             /  /     \
           (1)(1)     (1)
             \ |       |
              \|       |
               *--(1)--*
                \     /
                (1) (1)
                  \ /
                  (-)
.
T(13,11) = 6: Bri(Ser(1,1),1,1,1,1) = 13/11.
T(95,106) = 10, but T(106,95) > 10: Karnofsky (2004, p. 5), see comment.
		

References

  • Technology Review's Puzzle Corner, How many different resistances can be obtained by combining 10 one ohm resistors? Oct 3, 2003.

Crossrefs

Non-reciprocal ratios: A338601/A338602 (10 resistors), A338581/A338591 (11 resistors), A338582/A338592 (12 resistors).

A338487 a(n) is the number of non-isomorphic, serial/parallel indecomposable resistor networks with n edges, n >= 5, allowing dead ends.

Original entry on oeis.org

1, 5, 36, 225, 1453, 9228, 58701, 372695, 2370155, 15117459, 96868355, 624326820, 4051597971, 26496771687, 174749567296, 1162909625384, 7812487626519, 53005074235282, 363305517314289, 2516343623698964, 17615995074375601, 124669825295709879, 892060223018406365
Offset: 5

Views

Author

Rainer Rosenthal and Hugo Pfoertner, Oct 30 2020

Keywords

Comments

A connected multigraph G with a selected pair P of nodes can be used to represent a resistor network. The edges represent resistors, and the total resistance is measured between the selected nodes. It is possible to construct complex networks using only serial or parallel combinations, but the more nodes and edges are involved, the more networks of a different kind can be found. They cannot be decomposed into serial/parallel elements. The sequence is on page 2 of the paper describing the computation of A180414 (see the Joel Karnofsky link).
Karnofsky claims that he systematically increased the number of edges by three basic operations, C, D, and E, defined in A338999, i.e., he claims to have counted the CDE-descendants of the simplest h-graph (the "bridge," see the example section). Numbers given in his paper are 1, 5, 37, 226, 1460, 9235, which is slightly off (see A339386). The difference seems to stem from the "dangling parts," as he calls them in his "addendum," so they don't affect the computation of different resistances in A180414. - Rainer Rosenthal, Dec 02 2020

Examples

			a(5) = 1. The only serial/parallel nondecomposable network with 5 resistors:
.
                      (+)-----A
     The "bridge"            / \
     see A337516            B---C
                             \ /
                      (-)-----Z
.
a(6) = 5. Constructed from the bridge with 5 resistors.
Allowed ways of adding a new edge are:
* an existing resistor is replaced by two parallel (N1, N2).
* a new resistor is appended (N3).
* an existing resistor is replaced by two serial (N4, N5).
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
                    .                   .
         .-A        .         A         .         A
        / / \       .        / \        .   D    / \
       / /   \      .       /   \       .   |   /   \
      / /     \     .      /     \      .   |  /     \
     | /       \    .     /       \     .   | /       \
     |/         \   .    /.-------.\    .   |/         \
     B-----------C  .   B.         .C   .   B-----------C
      \         /   .    \`-------´/    .    \         /
       \       /    .     \       /     .     \       /
        \     /     .      \     /      .      \     /
         \   /      .       \   /       .       \   /
          \ /       .        \ /        .        \ /
           Z        .         Z         .         Z
                    .                   .
     N1: new edge   .   N2: new edge    .  N3: new node D
           A-B      .         B-C       .   with edge B-D
                    .                   .
  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
                    .
           A        .         A
          / \       .        / \
         /   \      .       /   \
        D     \     .      /     \
       /       \    .     /       \
      /         \   .    /         \
     B-----------C  .   B-----D-----C
      \         /   .    \         /
       \       /    .     \       /
        \     /     .      \     /
         \   /      .       \   /
          \ /       .        \ /
           Z        .         Z
                    .
    N4: new node D  .  N5: new node D
     A-B now A-D-B  .   B-C now B-D-C
                    .
. . . . . . . . . . . . . . . . . . . . .
a(7) = 36. There are 24 interesting networks without dead ends.
See the pdf document with their description in the link section.
		

References

  • Technology Review's Puzzle Corner, How many different resistances can be obtained by combining 10 one ohm resistors? Oct 3, 2003.

Crossrefs

For graphs with two distinguished nodes see A304074.

Programs

  • Maple
    SetA338487(5) := {"011111"}: # "bridge" adjacency matrix coded
    for n from 6 to MAXEDGES do
       SetA338487(n) := C_D_E(SetA338487(n-1));  # see link section
    od:
    seq(nops(SetA338487(n)),n=1..MAXEDGES); # Rainer Rosenthal, Dec 02 2020

Extensions

a(10)-a(27) from Andrew Howroyd, Dec 02 2020

A340920 a(n) is the number of distinct resistances that can be produced from a planar circuit with exactly n unit resistors.

Original entry on oeis.org

1, 1, 2, 4, 9, 23, 57, 151, 427, 1263, 3807, 11549, 34843, 104459, 311317, 928719, 2776247, 8320757, 24967341, 74985337
Offset: 0

Views

Author

Hugo Pfoertner and Rainer Rosenthal, Feb 14 2021

Keywords

Examples

			a(10) = 3807, whereas A337517(10) = 3823. The difference of 16 resistances results from the 15 terms of A338601/A338602 and the resistance 34/27 not representable by a planar network of 10 resistors, whereas it (but not 27/34) can be represented by a nonplanar network of 10 resistors.
		

Crossrefs

Programs

Formula

a(n) = A337517(n) for n <= 9, a(n) < A337517(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

Showing 1-9 of 9 results.