A180497 a(n)=n^2-3*floor[n/sqrt(3)]^2.
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
Keywords
Examples
a(5)=13 since 5^2-3*floor[5/sqrt(3)]^2 =25-3*2^2=25-3*4=25-12=13
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Table[n^2-3Floor[n/Sqrt[3]]^2,{n,70}] (* Harvey P. Dale, Nov 18 2024 *)
Comments