A256967 a(n) = A256966(n) + 1.
1, 2, 4, 7, 10, 14, 18, 22, 27, 32, 37, 42, 47, 53, 59, 65, 71, 77, 83, 89, 95, 102, 109, 116, 123, 130, 137, 144, 151, 158, 165, 172, 179, 186, 194, 202, 210, 218, 226, 234, 242, 250, 258, 266, 274, 282, 290, 298, 306, 314, 322, 330
Offset: 1
Keywords
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..10000
- Popular Computing (Calabasas, CA), A Coding Exercise (from a suggestion by R. W. Hamming), Vol. 5 (No. 54, Sep 1977), p. PC55-18. [Asks what is a(n)?]
Programs
-
Python
A256967_list, x, d, f1, f2 = [], 1, 1, 1, 0 for _ in range(20): for i in range(f1): A256967_list.append(x) x += d d += 1 f1, f2 = f1 + f2, f1 # Chai Wah Wu, Apr 19 2015