A370980 If n is even, (n^2-2*n+2)/2, otherwise (n^2-n+2)/2.
1, 1, 1, 4, 5, 11, 13, 22, 25, 37, 41, 56, 61, 79, 85, 106, 113, 137, 145, 172, 181, 211, 221, 254, 265, 301, 313, 352, 365, 407, 421, 466, 481, 529, 545, 596, 613, 667, 685, 742, 761, 821, 841, 904, 925, 991, 1013, 1082, 1105, 1177, 1201, 1276, 1301, 1379, 1405, 1486, 1513, 1597, 1625, 1712, 1741, 1831, 1861, 1954
Offset: 0
Keywords
Examples
a(n) = 1+n*floor((n-1)/2) = 1+n*A004526(n-1). - _Chai Wah Wu_, Mar 23 2024
Links
- Scott R. Shannon, Image for n = 3. In this and other images the center of each circle of shown as a white dot.
- Scott R. Shannon, Image for n = 4.
- Scott R. Shannon, Image for n = 5
- Scott R. Shannon, Image for n = 10.
- Scott R. Shannon, Image for n = 20.
Crossrefs
Programs
-
Python
def A370980(n): return n*(n-1>>1)+1 # Chai Wah Wu, Mar 23 2024
Comments