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.

A356202 a(n) is the second component y of the distance vector (x,y), x >= y >= 0, between two nodes of an infinite square lattice of one-ohm resistors, such that the resistance R between the two nodes is as close as possible to n ohms, i.e., abs(R - n) is minimized. x is A356201(n).

Original entry on oeis.org

0, 2, 8, 606, 24881, 903855, 18345919, 303176603, 7423167971, 247828120179, 6034957650107, 7948827377158
Offset: 0

Views

Author

Hugo Pfoertner, Aug 01 2022

Keywords

Comments

If more than one solution exists, the one maximizing x and minimizing y is chosen.

Examples

			See table in A356201.
		

Crossrefs

Programs

  • PARI
    \\ using the function Rsqlatt(R) from program file linked in A356201
    for (k=0, 11, print1(Rsqlatt(k)[2], ", ")) \\ Hugo Pfoertner, Sep 09 2022

Extensions

a(9)-a(11) from Hugo Pfoertner, Aug 22 2022