A272036
Numbers n such that the sum of the inverse of the exponents in the binary expansion of 2n is equal to 1.
Original entry on oeis.org
1, 38, 2090, 16902, 18954, 18988, 131334, 133386, 133420, 148258, 150284, 524314, 524348, 526386, 541212, 543250, 543284, 655644, 657682, 657716, 672568, 674580, 8388742, 8390794, 8390828, 8405666, 8407692, 8520098, 8522124, 8536962, 8536996, 8539048, 8913052, 8915090
Offset: 1
For n=38, 2*38_10 = 2^6 + 2^3 + 2^2 = 1001100_2, and 1/2 + 1/3 + 1/6 = 1.
-
Select[Range[2^20], Total[1/Flatten@ Position[Reverse@ IntegerDigits[#, 2], 1]] == 1 &] (* Michael De Vlieger, Apr 18 2016 *)
-
is(n) = my(b = Vecrev(binary(n))); sum(k=1, #b, b[k]/k) == 1;
A272081
Irregular triangle read by rows: strictly decreasing positive integer sequences in lexicographic order with the property that the sum of inverses is the inverse of an integer.
Original entry on oeis.org
1, 2, 3, 4, 5, 6, 6, 3, 6, 3, 2, 7, 8, 9, 10, 11, 12, 12, 4, 12, 6, 12, 6, 4, 12, 6, 4, 2, 13, 14, 15, 15, 10, 15, 10, 3, 15, 10, 3, 2, 15, 10, 6, 15, 12, 10, 15, 12, 10, 4, 15, 12, 10, 4, 2, 15, 12, 10, 6, 4, 3, 16, 17, 18, 18, 9, 18, 9, 3, 18, 9, 3, 2, 18, 9
Offset: 1
First 18 rows:
[1] because 1 is self-inverse.
[2] because 1/2 is the inverse of an integer.
[3]
[4] (...)
[5]
[6]
[6, 3] because 1/6 + 1/3 = 1/2.
[6, 3, 2] because 1/6 + 1/3 + 1/2 = 1/1.
[7]
[8]
[9] (...)
[10]
[11]
[12]
[12, 4] because 1/12 + 1/4 = 1/3.
[12, 6] because 1/12 + 1/6 = 1/4.
[12, 6, 4] because 1/12 + 1/6 + 1/4 = 1/2.
[12, 6, 4, 2] because 1/12 + 1/6 + 1/4 + 1/2 = 1/1.
A272082
Irregular triangle read by rows: strictly decreasing positive integer sequences in lexicographic order with the property that the sum of inverses is an integer.
Original entry on oeis.org
1, 6, 3, 2, 6, 3, 2, 1, 12, 6, 4, 2, 12, 6, 4, 2, 1, 15, 10, 3, 2, 15, 10, 3, 2, 1, 15, 12, 10, 4, 2, 15, 12, 10, 4, 2, 1, 15, 12, 10, 6, 4, 3, 15, 12, 10, 6, 4, 3, 1, 18, 9, 3, 2, 18, 9, 3, 2, 1, 18, 12, 9, 4, 2, 18, 12, 9, 4, 2, 1, 18, 12, 9, 6, 4, 3, 18, 12
Offset: 1
First 8 rows:
[1] because 1/1 is an integer
[6, 3, 2] because 1/6 + 1/3 + 1/2 = 1.
[6, 3, 2, 1] because 1/6 + 1/3 + 1/2 + 1/1 = 2.
[12, 6, 4, 2] because 1/12 + 1/6 + 1/4 + 1/2 = 1.
[12, 6, 4, 2, 1] because 1/12 + 1/6 + 1/4 + 1/2 + 1/1 = 2.
[15, 10, 3, 2] because 1/15 + 1/10 + 1/3 + 1/2 = 1.
[15, 10, 3, 2, 1] because 1/15 + 1/10 + 1/3 + 1/2 + 1/1 = 2.
[15, 12, 10, 4, 2] because 1/15 + 1/12 + 1/10 + 1/4 + 1/2 = 1.
A275288
Least k such that there exists a sequence b_1 < b_2 < ... < b_t = k that includes n and has a reciprocal sum of 1.
Original entry on oeis.org
1, 6, 6, 12, 20, 6, 28, 24, 18, 15, 33, 12, 65, 28, 15, 48, 85, 18, 76, 20, 28, 33, 115, 24, 100, 52, 54, 28, 145, 30, 217, 96, 33, 85, 35, 36, 296, 95, 52, 40, 246, 42, 301, 55, 45, 138, 329, 48, 196, 75, 102, 52, 371, 54, 55, 56, 76, 174, 531, 60, 305, 155
Offset: 1
a(1) = 1 via [1]
a(2) = 6 via [2, 3, 6]
a(3) = 6 via [2, 3, 6]
a(4) = 12 via [2, 4, 6, 12]
a(5) = 20 via [2, 4, 5, 20]
a(6) = 6 via [2, 3, 6]
a(7) = 28 via [2, 4, 7, 14, 28]
a(8) = 24 via [2, 3, 8, 24]
a(9) = 18 via [2, 3, 9, 18]
a(10) = 15 via [2, 3, 10, 15]
a(11) > 30
a(12) = 12 via [2, 4, 6, 12]
a(13) > 30
a(14) = 28 via [2, 4, 7, 14, 28]
a(15) = 15 via [2, 3, 10, 15]
a(16) > 30
a(17) > 30
a(18) = 18 via [2, 3, 9, 18]
From _Jon E. Schoenfield_, Feb 15 2020: (Start)
For n=31, the largest prime or prime power divisor of n is P=31, and the set of unit fractions {1/1, 1/2, 1/3, 1/4, 1/5, 1/6} has no subset sum that includes 1/(n/P) = 1/1 and has a numerator divisible by 31, but the set of unit fractions {1/1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7} does have such a subset sum, namely, 1/1 + 1/3 + 1/7 = 31/21, so a(31) >= 7*31 = 217. In fact, the numbers 1*31=31, 3*31=93, and 7*31=217 are elements of many sets of integers that include n=31, include no element > 217, and have a reciprocal sum of 1 (one such set is {2,3,12,28,31,93,217}), so a(31)=217.
For n=62, the largest prime or prime power divisor of n is again P=31, and the set of unit fractions {1/1, 1/2, 1/3, 1/4} has no subset sum that includes 1/(n/P) = 1/2 and has a numerator divisible by 31, but the set of unit fractions {1/1, 1/2, 1/3, 1/4, 1/5} does have such a subset sum, namely, 1/2 + 1/3 + 1/5 = 31/30, so a(62) >= 5*31 = 155. In fact, the numbers 2*31=62, 3*31=93, and 5*31=155 are elements of many sets of integers that include n=62, include no element > 155, and have a reciprocal sum of 1 (one such set is {2,3,12,20,62,93,155}), so a(62)=155.
(End)
-
Table[SelectFirst[Range@ 20, MemberQ[Map[Total, 1/DeleteCases[Rest@ Subsets[Range@ #, #], w_ /; FreeQ[w, n]]], 1] &] /. k_ /; MissingQ@ k -> 0, {n, 12}] (* Michael De Vlieger, Aug 18 2016, Version 10.2, values of a(n) > 20 appear as 0 *)
A294651
Least possible value for the highest denominator in the decomposition of unity as a sum of different unitary fractions the greatest of which is 1/n.
Original entry on oeis.org
1, 6, 15, 20, 24, 28, 33, 40, 48, 52, 65, 65, 75, 76, 85, 88, 91, 100, 105, 115, 115, 119, 132, 140, 144, 145, 155, 161, 162, 171, 217, 174, 182, 190, 195, 196, 296, 200, 207, 220, 246, 224, 301, 231, 238, 253, 329, 275, 280, 287, 288, 296, 371, 300, 304, 305
Offset: 1
1 = 1/3 + 1/4 + 1/6 + 1/10 + 1/12 + 1/15, and there is no such decomposition starting at 1/3 and having a greatest denominator smaller than 15, so a(3)=15.
Cf.
A192881, which looks at decompositions with the least possible number of terms. Those from this sequence achieve those bounds up to a(7), with exception of a(3). However, n=7 is likely the last value of n for which this holds.
A305442
Number of subsets of {1, 2, ..., n} such that the sum of the reciprocals is strictly less than 1.
Original entry on oeis.org
1, 1, 2, 4, 7, 13, 24, 44, 81, 149, 274, 501, 918, 1686, 3110, 5724, 10543, 19435, 35857, 66198, 122294, 226135, 418351, 774372, 1434089, 2657205, 4925796, 9135403, 16949546, 31460330, 58415177, 108502732, 201603881, 374707879, 696649896, 1295562234, 2410000999
Offset: 0
For n = 4 the a(4) = 7 subsets are:
{} because 0 < 1,
{2} because 1/2 < 1,
{2, 3} because 1/2 + 1/3 = 5/6 < 1,
{2, 4} because 1/2 + 1/4 = 3/4 < 1,
{3} because 1/3 < 1,
{3, 4} because 1/3 + 1/4 = 7/12 < 1, and
{4} because 1/4 < 1.
-
a[n_] := 1 + Length@ Select[Subsets[Range[2,n], {1, n-1}], Total[1/#] < 1 &]; Array[a, 15] (* Giovanni Resta, Jun 01 2018 *)
Showing 1-6 of 6 results.
Comments