OFFSET
0,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..10000
MAPLE
MATHEMATICA
a[n_] := n*Round[n*GoldenRatio]; Table[a[n], {n, 0, 48}] (* Jean-François Alcover, Jun 27 2012 *)
PROG
(Python)
from math import isqrt
def A050508(n): return n*((isqrt(5*n**2<<2)>>1)+n+1>>1) # Chai Wah Wu, Aug 29 2022
CROSSREFS
KEYWORD
easy,nice,nonn
AUTHOR
Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Dec 28 1999
STATUS
approved