login
A180497
a(n)=n^2-3*floor[n/sqrt(3)]^2
0
1, 1, 6, 4, 13, 9, 1, 16, 6, 25, 13, 36, 22, 4, 33, 13, 46, 24, 61, 37, 9, 52, 22, 69, 37, 1, 54, 16, 73, 33, 94, 52, 6, 73, 25, 96, 46, 121, 69, 13, 94, 36, 121, 61, 150, 88, 22, 117, 49, 148, 78, 4, 109, 33, 142, 64, 177, 97, 13, 132, 46, 169, 81, 208, 118, 24, 157, 61, 198
OFFSET
1,3
COMMENTS
a(n)=1 for n=A001075
EXAMPLE
a(5)=13 since 5^2-3*floor[5/sqrt(3)]^2 =25-3*2^2=25-3*4=25-12=13
CROSSREFS
KEYWORD
nonn
AUTHOR
Carmine Suriano, Sep 08 2010
STATUS
approved