OFFSET
1,2
FORMULA
a(n) = 1 + Sum_{k=1..n-1} ceiling(sqrt(2)*k). - Benoit Cloitre, Jan 24 2009
PROG
(PARI) a(n)=1+sum(k=1, n-1, ceil(sqrt(2)*k)) \\ Benoit Cloitre, Jan 24 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved