login
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).
4

%I #11 Sep 09 2022 14:50:38

%S 0,2,8,606,24881,903855,18345919,303176603,7423167971,247828120179,

%T 6034957650107,7948827377158

%N 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).

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

%e See table in A356201.

%o (PARI) \\ using the function Rsqlatt(R) from program file linked in A356201

%o for (k=0, 11, print1(Rsqlatt(k)[2], ", ")) \\ _Hugo Pfoertner_, Sep 09 2022

%Y Cf. A355565, A355566, A355567, A355953, A355955.

%K nonn,hard,more

%O 0,2

%A _Hugo Pfoertner_, Aug 01 2022

%E a(9)-a(11) from _Hugo Pfoertner_, Aug 22 2022