A068194 Numbers k for which the only representation of k*(k+1)/2 as a sum of 2 or more consecutive positive integers is 1+2+...+k.
1, 2, 3, 4, 7, 16, 31, 127, 256, 8191, 65536, 131071, 524287, 2147483647, 2305843009213693951, 618970019642690137449562111, 162259276829213363391578010288127, 170141183460469231731687303715884105727
Offset: 1
Keywords
Examples
k=6 gives 21, which has the 2 representations 1+2+...+6 and 10+11, so 6 is not in the sequence. k=4 gives 10, whose only representation is 1+2+3+4, so 4 is in the sequence.
Links
- Jon Perry, Erdos-Moser.
Programs
-
Magma
[1] cat [m: m in [2..10000] | #Divisors(m)/Valuation(2*m, 2)+ #Divisors(m+1)/Valuation(2*(m+1),2) eq 3]; // Juri-Stepan Gerasimov, Oct 06 2023
Extensions
Edited by Dean Hickerson, Feb 22 2002
Comments