[go: up one dir, main page]

login
A063677
Size of largest subset of {A063676(1), ......., A063676(n)} with an integer arithmetic mean.
1
1, 1, 2, 3, 5, 5, 6, 7, 9, 9, 10, 11, 12, 14, 14, 14, 16, 17, 17, 19, 21, 21, 21, 23, 24, 26, 26, 27, 27, 29, 29, 31, 32, 34, 34, 35, 36, 36, 37, 39, 39, 40, 42, 42, 43, 44, 46, 47, 48, 49, 49, 51, 51, 53, 53, 55, 56, 57, 58, 58, 60, 61, 62, 63, 64, 65, 65, 67, 68, 68, 69, 71
OFFSET
1,3
COMMENTS
0 <= n - a(n) <= 2, checked until n = 117 (true for all n?)
EXAMPLE
The arithmetic mean of the first 7 A063676-elements is (1 + 2 + 4 + 7 + 11 + 16 + 24) / 7 = 65 / 7 which is not an integer; but skipping A063676(5) = 11 yields m = 54 / 6 = 9, so we have A063676(8) = A063676(7)+ m = 24 + 9 = 33 and a(7) = #{1, 2, 4, 7, 16, 24} = 6.
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 28 2001
STATUS
approved