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.
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
Keywords
Examples
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)
Links
- Jon E. Schoenfield, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
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 *)
Extensions
a(11)-a(12) from Robert Price, Jan 07 2017
a(13)-a(58) from David A. Corneth, Jul 20 2017
a(59)-a(62) from Jon E. Schoenfield, Feb 15 2020
Comments