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.

A337037 Numbers whose every unordered factorization has a distinct sum of factors.

This page as a plain text file.
%I A337037 #34 Sep 14 2020 00:13:15
%S A337037 1,2,3,5,6,7,9,10,11,13,14,15,17,18,19,21,22,23,25,26,27,29,30,31,33,
%T A337037 34,35,37,38,39,41,42,43,45,46,47,49,50,51,53,54,55,57,58,59,61,62,63,
%U A337037 65,66,67,69,70,71,73,74,75,77,78,79,81,82,83,85,86,87,89,91,93,94,95,97,98,99,101
%N A337037 Numbers whose every unordered factorization has a distinct sum of factors.
%C A337037 The number 1 is in the sequence by convention.
%C A337037 All primes p are trivially in the sequence.
%C A337037 All semiprimes greater than 4 are in the sequence because they have only two unordered factorizations pq = p*q whose sums are distinct. They are distinct because the only solution to p*q = p+q is p=q=2.
%C A337037 If a number m is not in the sequence, then all multiples of m are not in the sequence. For example, multiples of 4 are not in the sequence because there always exist at least two factorizations 4*k = 2*2*k whose factors sum to the same value 4+k = 2+2+k.
%C A337037 The complement is in A337080.
%C A337037 Numbers m such that A069016(m) = A001055(m). - _Michel Marcus_, Aug 15 2020
%H A337037 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/UnorderedFactorization.html">Unordered Factorization</a>.
%e A337037 All unordered factorization of 30 are 30 = 2*15 = 3*10 = 5*6 = 2*3*5. Corresponding sums of factors are distinct: 30, 17 = 15+2, 13 = 10+3, 11 = 6+5, 10 = 2+3+5. Therefore 30 is in the sequence.
%e A337037 All unordered factorization of 90 are 90 = 45*2 = 30*3 = 18*5 = 15*6 = 15*3*2 = 10*9 = 9*5*2 = 10*3*3 = 6*5*3 = 5*3*3*2. Corresponding sums of factors are not all distinct: 90, 57, 33, 23, 21, 20, 19, 16, 16, 14, 13 because the sum 16 = 10+3+3 = 9+5+2 appears twice. Therefore 90 is not in the sequence.
%o A337037 (PARI) factz(n, minn) = {my(v=[]); fordiv(n, d, if ((d>=minn) && (d<=sqrtint(n)), w = factz(n/d, d); for (i=1, #w, w[i] = concat([d], w[i]);); v = concat(v, w););); concat(v, [[n]]);}
%o A337037 factorz(n) = factz(n, 2);
%o A337037 isok(n) = my(vs = apply(x->vecsum(x), factorz(n))); #vs == #Set(vs); \\ _Michel Marcus_, Aug 13 2020
%Y A337037 Cf. A337080 (complement), A337081 (primitive complement).
%Y A337037 Cf. A001055 (number of unordered factorizations of n), A074206 (number of ordered factorizations of n).
%Y A337037 Cf. A056472 (all factorizations of n), A069016 (number of distinct sums).
%K A337037 nonn,easy
%O A337037 1,2
%A A337037 _Matej Veselovac_, Aug 12 2020