login
Main diagonal of A101858.
4

%I #7 Mar 20 2024 17:50:24

%S 2,13,25,52,89,117,170,208,277,356,410,505,610,680,801,881,1018,1165,

%T 1261,1424,1530,1709,1898,2020,2225,2440,2578,2809,2957,3204,3461,

%U 3625,3898,4181,4361,4660,4850,5165,5490,5696,6037,6253,6610,6977,7209,7592,7985

%N Main diagonal of A101858.

%H Paolo Xausa, <a href="/A101863/b101863.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = n^2 + floor(n*(1 + sqrt(5))/2)^2. - _Paolo Xausa_, Mar 20 2024

%t Array[#^2 + Floor[#*GoldenRatio]^2 &, 100] (* _Paolo Xausa_, Mar 20 2024 *)

%Y Cf. A001622, A101858.

%K nonn

%O 1,1

%A _N. J. A. Sloane_, Jan 28 2005