cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-10 of 10 results.

A092672 Nonzero elements of A092669.

Original entry on oeis.org

1, 1, 1, 3, 5, 11, 19, 73, 86, 163, 203, 286, 803, 1399, 2723, 4870, 8789, 13937, 14987, 42081, 85577, 159982, 117889, 437874, 818640, 1556563, 2919414, 4532317, 9420591, 11784270, 30183102, 58689399, 75549818, 192950540, 369713351
Offset: 1

Views

Author

Max Alekseyev, Mar 02 2004

Keywords

Crossrefs

Formula

a(n)=A092669(A092671(n))

Extensions

More terms from T. Suzuki (suzuki(AT)scio.co.jp), Nov 24 2006

A092671 Numbers n such that there exists a solution to the equation 1 = 1/x_1 + ... + 1/x_k (for any k), 0 < x_1 < ... < x_k = n.

Original entry on oeis.org

1, 6, 12, 15, 18, 20, 24, 28, 30, 33, 35, 36, 40, 42, 45, 48, 52, 54, 55, 56, 60, 63, 65, 66, 70, 72, 75, 76, 77, 78, 80, 84, 85, 88, 90, 91, 95, 96, 99, 100, 102, 104, 105, 108, 110, 112, 114, 115, 117, 119, 120, 126, 130, 132, 133, 135, 136, 138, 140, 143, 144, 145
Offset: 1

Views

Author

Max Alekseyev, Mar 02 2004

Keywords

Comments

No prime or power of a prime is in this sequence. If n > 1 is in the sequence then all multiples of n are in the sequence. A multiple m*p of a prime p, with all prime factors of m < p, is in the sequence if p is a factor of the numerator of a sum 1/m + 1/x1 + ... + 1/xi, where x1,...,xi are distinct integers < m. See A093407 for the least m for each prime p. The Mathematica code uses backtracking to find one solution for a given n. If n is large or not in this sequence, the program will run for a long time. - T. D. Noe, Mar 30 2004
Conjecture (verified through n=2*10^5): For any n > 1, let P be the largest divisor of n that is either a prime (p) or prime power (p^e, where e > 1), and let m = n/P. Then n is in the sequence iff p is a factor of the numerator of a sum 1/m + 1/x_1 + ... + 1/x_i, where x_1,...,x_i are distinct integers < m. - Jon E. Schoenfield, Apr 06 2014

Examples

			From _Jon E. Schoenfield_, Apr 09 2017: (Start)
6 is in the sequence because 1/2 + 1/3 + 1/6 = 1. (Note that the prime factorization of 6 is 2*3, and if we start with 1/6, adding 1/3 yields 1/2, which removes the factor 3 from the denominator; then adding 1/2 removes the 2.)
23 cannot be in the sequence because it is a prime: for any positive integer j1 < 23, 1/j1 + 1/23 = (23 + j1)/(23*j1), which cannot be reduced; adding another 1/j2 to the sum (with j2 < 23) will give (23*(j1 + j2) + j1*j2)/(23*j1*j2), from which the factor of 23 in the denominator still cannot be removed by reduction (since 23 does not divide j1*j2, so 23 cannot divide the numerator); and adding any further reciprocals of integers < 23 similarly cannot remove the factor of 23 from the denominator.
25 cannot be in the sequence because it is a prime power: for any positive integer j1 < 25, 1/j1 + 1/25 = (25 + j1)/(25*j1), which cannot be reduced unless 5 divides j1, but even then the denominator would remain divisible by 25 (and, as above, this would continue to be the case after the addition any number of reciprocals of other integers < 25).
For additional examples, including some ideas for heuristics for obtaining solutions for numbers n that are in the sequence, see the Links. (End)
For an inelegantly written Magma program that computes the first 1000 terms in about 0.3 seconds on the Magma Calculator, see the Links. - _Jon E. Schoenfield_, Apr 19 2017
		

References

  • R. K. Guy, Unsolved Problems in Number Theory, 2nd Ed., New York, Springer-Verlag, 1994, Section D11.

Crossrefs

Cf. A093407 (least m such that m*prime(n) is in this sequence).
Cf. A128253 (primitive elements).

Programs

  • Mathematica
    n=55; try3[lev_, s_] := Module[{nmim, nmax, si, i}, AppendTo[soln, 0]; If[lev==1, nmin=2, nmin=1+soln[[ -2]]]; nmax=n-1; Do[If[iT. D. Noe, Mar 30 2004 *)

Extensions

More terms from T. D. Noe, Mar 30 2004

A092666 a(n) = number of Egyptian fractions 1 = 1/x_1 + ... + 1/x_k (for any k), with 0 < x_1 <= ... <= x_k = n.

Original entry on oeis.org

1, 1, 1, 2, 1, 7, 1, 10, 10, 26, 1, 107, 1, 83, 375, 384, 1, 1418, 1, 4781, 7812, 1529, 1, 33665, 9789, 4276, 27787, 168107, 1, 584667, 1, 586340, 1177696, 52334, 5285597, 14746041, 1, 218959, 13092673, 84854683, 1, 279357910, 1, 491060793, 2001103921
Offset: 1

Views

Author

Max Alekseyev, Mar 02 2004

Keywords

Examples

			a(4) = 2 since there are two fractions 1=1/2+1/4+1/4 and 1=1/4+1/4+1/4+1/4.
		

Crossrefs

Formula

a(n) = A020473(n) - A020473(n-1).
a(n) = 1 if n is prime.

Extensions

Edited by Max Alekseyev, May 05 2010

A092670 a(n) = number of Egyptian fractions 1 = 1/x_1 + ... + 1/x_k (for any k), 0

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 6, 6, 6, 11, 11, 22, 22, 22, 22, 41, 41, 41, 41, 114, 114, 200, 200, 200, 363, 363, 566, 852, 852, 852, 852, 1655, 1655, 3054, 3054, 3054, 5777, 5777, 5777, 10647, 10647, 10647, 10647, 19436, 19436, 33373, 48360, 90441
Offset: 1

Views

Author

Max Alekseyev, Mar 02 2004

Keywords

Examples

			a(6)=2 since there are two fractions 1=1/1 and 1=1/2+1/3+1/6.
		

Crossrefs

Formula

a(n)=Sum(A092669(i), i=1..n)

Extensions

More terms from T. Suzuki (suzuki(AT)scio.co.jp), Nov 24 2006

A092667 a(n) = number of Egyptian fractions 1 = 1/x_1 + ... + 1/x_k (for any k), with max{x_i}=n.

Original entry on oeis.org

1, 1, 1, 4, 1, 44, 1, 235, 921, 4038, 1, 66147, 1, 304383, 6581754, 45353329, 1, 1100311690, 1, 44423279911, 1250831952086, 284120133400, 1, 71664788693247, 511162204140999, 55479698795314, 10715917223431762, 505603414069366830, 1, 28696102343693431631, 1, 857699266471525509621, 30399386408588668316839, 63063040603038091480
Offset: 1

Views

Author

Max Alekseyev, Mar 02 2004

Keywords

Examples

			a(4) = 4 since there are four fractions 1=1/2+1/4+1/4, 1=1/4+1/2+1/4, 1=1/4+1/4+1/2 and 1=1/4+1/4+1/4+1/4.
		

Crossrefs

Formula

a(n) = A038034(n) - A038034(n-1).
a(n) = 1 if n is prime.

A212606 Number of distinct sums <= 1 of reciprocals of positive integers <= n.

Original entry on oeis.org

1, 2, 3, 6, 10, 26, 34, 103, 175, 393, 599, 2015, 2551, 8681, 14254, 19620, 34700, 129557, 161272, 595304, 695175, 1094164, 1903859, 7654850, 9413484, 29625309
Offset: 0

Views

Author

Max Alekseyev, May 22 2012

Keywords

Examples

			a(3) = 6 counts numbers { 0, 1/3, 1/2, 2/3, 5/6, 1 }, each of which is can be represented as the sum of reciprocals 1/1, 1/2, and 1/3.
		

Crossrefs

For distinct sums of distinct reciprocals, see A212607.

Extensions

a(24)-a(25) from Dexter Senft, Feb 07 2019

A212607 Number of distinct sums <= 1 of distinct reciprocals of integers <= n.

Original entry on oeis.org

1, 2, 3, 5, 8, 14, 21, 38, 70, 129, 238, 440, 504, 949, 1790, 2301, 4363, 8272, 12408, 23604, 26675, 45724, 87781, 168549, 181989, 351076, 677339, 1306894, 1399054, 2709128, 2795144, 5423805, 10525050
Offset: 0

Views

Author

Max Alekseyev, May 22 2012

Keywords

Examples

			a(3) = 5 counts numbers { 0, 1/3, 1/2, 5/6, 1 }, each of which is can be represented as the sum of distinct reciprocals 1/1, 1/2, and 1/3.
		

Crossrefs

For possibly non-distinct reciprocals, see A212606.

Programs

  • Maple
    s:= proc(n) option remember;
          `if`(n=0, {0}, map(x-> `if`(n-1 nops(s(n)):
    seq(a(n), n=0..20);  # Alois P. Heinz, May 23 2012
  • Mathematica
    s[_] := s[n] = If[n == 0, {0}, If[n-1 < n*#, #, {#, # + 1/n}]& /@ s[n-1] // Flatten];
    a[n_] := Length[s[n]];
    Table[Print[n, " ", a[n]]; a[n], {n, 0, 32}] (* Jean-François Alcover, May 13 2019, after Alois P. Heinz *)

Extensions

a(27)-a(32) from Alois P. Heinz, May 23 2012

A212657 Number of subsets of {1,2,...,n} with the sum of reciprocals <= 1.

Original entry on oeis.org

1, 2, 3, 5, 8, 14, 26, 46, 83, 151, 276, 503, 921, 1689, 3113, 5730, 10549, 19441, 35868, 66209, 122316, 226157, 418373, 774394, 1434130, 2657246, 4925837, 9135444, 16949660, 31460444, 58415377, 108502932, 201604081, 374708242, 696650259, 1295562800, 2410001851, 4484208954, 8345621293
Offset: 0

Views

Author

Max Alekseyev, May 23 2012

Keywords

Comments

The number of distinct sums of reciprocals is given by A212607.
a(n) grows as 2^(b*n) with b=0.911... (Tikhomirov et al. 2017).

Crossrefs

Cf. A212658 (reciprocals can appear multiple times).

Programs

  • PARI
    { A212657(n) = my(L=lcm(vector(n,i,i))); polcoeff( prod(i=1,n, 1+x^(L/i)+O(x^(L+1)) )/(1-x), L); }

Extensions

a(32)-a(35) from Alois P. Heinz, May 23 2012
a(36)-a(95) from Robert Gerbicz, May 23 2012

A212658 Number of multisets {1^k1, 2^k2, ..., n^kn}, ki >= 0, with the sum of reciprocals <= 1.

Original entry on oeis.org

1, 2, 4, 8, 17, 37, 86, 199, 475, 1138, 2769, 6748, 16613, 40904, 101317, 251401, 624958, 1555940, 3882708, 9701790, 24276866, 60817940, 152508653, 382828565, 961859364, 2418662434, 6086480305, 15327208770, 38622901484, 97384378728, 245686368946, 620158662562
Offset: 0

Views

Author

Max Alekseyev, May 23 2012

Keywords

Comments

The number of distinct sums of reciprocals is given by A212606.

Crossrefs

Extensions

a(24)-a(25) from Alois P. Heinz, Nov 20 2017
a(26)-a(31) from Dexter Senft, Feb 07 2019

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

Views

Author

Peter Kagey, Jun 01 2018

Keywords

Examples

			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.
		

Crossrefs

Programs

  • Mathematica
    a[n_] := 1 + Length@ Select[Subsets[Range[2,n], {1, n-1}], Total[1/#] < 1  &]; Array[a, 15] (* Giovanni Resta, Jun 01 2018 *)

Formula

a(n) = A212657(n) - A092670(n).

Extensions

a(26)-a(36) from Giovanni Resta, Jun 01 2018
Showing 1-10 of 10 results.