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

A357113 T(n,m) is the numerator of the resistance between two diametrically opposite nodes of a rectangular electric network of n*m quadratic cells in which all edges are replaced by one-ohm resistors, where T(n,m) is a triangle read by rows.

Original entry on oeis.org

1, 7, 3, 15, 121, 13, 45, 430, 2089, 47, 43, 1047, 37873, 2749, 1171, 239, 7148, 321249, 10499426, 2905619, 6385, 433, 33647, 59557, 156300899, 9176362943, 766114047605, 982871, 1157, 13971, 15887065, 1637345324, 120912032349, 25420198613182, 771357156007, 441083
Offset: 1

Views

Author

Hugo Pfoertner, Sep 15 2022

Keywords

Examples

			The triangle of resistances begins:
   1;
   7/5,       3/2;
  15/8,     121/69,      13/7;
  45/19,   430/209,   2089/1023,     47/22;
  43/15,  1047/440,  37873/16744,  2749/1205,  1171/495
.
  O- 1 ohm -O
  |         |
  O-===-O   |
  #     #   |
  #     #   |
  O-===-O---'
.
  O-- 7/5 ohms ---O        O--- 3/2 ohms --O
  |               |        |               |
  O-===-O-===-O   |        O-===-O-===-O   |
  #     #     #   |        #     #     #   |
  #     #     #   |        #     #     #   |
  O-===-O-===-O---'        O-===-O-===-O   |
                           #     #     #   |
                           #     #     #   |
                           O-===-O-===-O---'
.
  O---- 15/8 ohms ------O  O--- 121/69 ohms -----O  O--- 13/7 ohms -------O
  |                     |  |                     |  |                     |
  O-===-O-===-O-===-O   |  O-===-O-===-O-===-O   |  O-===-O-===-O-===-O   |
  #     #     #     #   |  #     #     #     #   |  #     #     #     #   |
  #     #     #     #   |  #     #     #     #   |  #     #     #     #   |
  O-===-O-===-O-===-O---'  O-===-O-===-O-===-O   |  O-===-O-===-O-===-O   |
                           #     #     #     #   |  #     #     #     #   |
                           #     #     #     #   |  #     #     #     #   |
                           O-===-O-===-O-===-O---'  O-===-O-===-O-===-O   |
                                                    #     #     #     #   |
                                                    #     #     #     #   |
                                                    O-===-O-===-O-===-O---'
		

Crossrefs

A357114 are the corresponding denominators.

Programs

  • Mathematica
    ResistanceDistance[g_Graph,i_Integer,j_Integer]:=Module[{n=VertexCount[g]},ResistanceDistanceMatrix=PseudoInverse[KirchhoffMatrix[g]+ConstantArray[1/n,{n,n}]];ResistanceDistanceMatrix[[i,i]]+ResistanceDistanceMatrix[[j,j]]-ResistanceDistanceMatrix[[i,j]]-ResistanceDistanceMatrix[[j,i]]]; a[n_Integer,m_Integer]:=ResistanceDistance[GridGraph[{n,m}],1,n*m]; Numerator[Flatten[Table[a[n,m],{n,2,10},{m,2,n}]]] (* MingKun Yue, Jan 25 2025 *)

A342568 1/a(n) is the current through the resistor at the central rung of an electrical ladder network made of 6*n+1 one-ohm resistors, fed by 1 volt at diametrically opposite ends of the ladder.

Original entry on oeis.org

1, 7, 45, 239, 1157, 5307, 23497, 101467, 430089, 1796975, 7422437, 30373191, 123327373, 497484067, 1995542913, 7965875891, 31663779857, 125391332055, 494914083229, 1947613051807, 7643917792917, 29928228744587, 116921300015417, 455866012012299, 1774126607984665
Offset: 0

Views

Author

Hugo Pfoertner, Jun 10 2021

Keywords

Examples

			   a(0)=1         a(1)=7                      a(2)=45
   o 1V       o-----o-----o 1V       o-----o-----o-----o-----o 1V
   |          |     |     |          |     |     |     |     |
   |          |     |     |          |     |     |     |     |
  1 A         |   1/7 A   |          |     |   1/45 A  |     |
   |          |     |     |          |     |     |     |     |
   |          |     |     |          |     |     |     |     |
   o 0V    0V o-----o-----o       0V o-----o-----o-----o-----o
		

Crossrefs

Bisection (odd indices) of A093652.
A001834(n)/a(n) is the total resistance of the network between diametrically opposite ends of the ladder.
Cf. A082630.

Formula

a(n) = 8*a(n-1) - 18*a(n-2) + 8*a(n-3) - a(n-4); a(0)=1, a(1)=7, a(2)=45, a(3)=239.
G.f.: (3*x^3 - 7*x^2 + x - 1)/(x^2 - 4*x + 1)^2. - Joerg Arndt, Jun 11 2021
Showing 1-2 of 2 results.