login
Search: a001065 -id:a001065
     Sort: relevance | references | number | modified | created      Format: long | short | data
Untouchable numbers, also called nonaliquot numbers: impossible values for the sum of aliquot parts function (A001065).
(Formerly M1552)
+20
57
2, 5, 52, 88, 96, 120, 124, 146, 162, 188, 206, 210, 216, 238, 246, 248, 262, 268, 276, 288, 290, 292, 304, 306, 322, 324, 326, 336, 342, 372, 406, 408, 426, 430, 448, 472, 474, 498, 516, 518, 520, 530, 540, 552, 556, 562, 576, 584, 612, 624, 626, 628, 658
OFFSET
1,1
COMMENTS
Complement of A078923. - Lekraj Beedassy, Jul 19 2005
Chen & Zhao show that the lower density of this sequence is at least 0.06, improving on te Riele. - Charles R Greathouse IV, Dec 28 2013
Numbers k such that A048138(k) = 0. A048138(k) measures how "touchable" k is. - Jeppe Stig Nielsen, Jan 12 2020
From Amiram Eldar, Feb 13 2021: (Start)
The term "untouchable number" was coined by Alanen (1972). He found the 570 terms below 5000.
Erdős (1973) proved that the lower asymptotic density of untouchable numbers is positive, te Riele (1976) proved that it is > 0.0324, and Banks and Luca (2004, 2005) proved that it is > 1/48.
Pollack and Pomerance (2016) conjectured that the asymptotic density is ~ 0.17. (End)
The upper asymptotic density is less than 1/2 by the 'almost all' binary Goldbach conjecture, independently proved by Nikolai Chudakov, Johannes van der Corput, and Theodor Estermann. (In this context, this shows that the density of the odd numbers of this form is 0 (consider A001065(p*q) for prime p, q); full Goldbach would prove that 5 is the only odd number in this sequence.) - Charles R Greathouse IV, Dec 05 2022
REFERENCES
Richard K. Guy, Unsolved Problems in Number Theory, 3rd ed., Springer, 2004, section B10, pp. 100-101.
Clifford A. Pickover, A Passion for Mathematics, Wiley, 2005; see p. 65.
József Sándor, Dragoslav S. Mitrinovic, Borislav Crstici, Handbook of Number Theory I, Springer Science & Business Media, 2005, page 93.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
David Wells, The Penguin Dictionary of Curious and Interesting Numbers. Penguin Books, NY, 1986, Revised edition 1987. See p. 125.
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..13863 (terms < 10^5; first 8153 terms from Klaus Brockhaus)
M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards, Applied Math. Series 55, Tenth Printing, 1972 [alternative scanned copy], p. 840.
Jack David Alanen, Empirical study of aliquot series, Ph.D Thesis, Yale University, 1972.
William D. Banks and Florian Luca, Noncototients and Nonaliquots, arXiv:math/0409231 [math.NT], 2004.
William D. Banks and Florian Luca, Nonaliquots and Robbins numbers, Colloq. Math., Vol. 103, No. 1 (2005), pp. 27-32.
Yong-Gao Chen and Qing-Qing Zhao, Nonaliquot numbers, Publ. Math. Debrecen, Vol. 78, No. 2 (2011), pp. 439-442.
K. Chum, R. K. Guy, M. J. Jacobson, Jr., and A. S. Mosunov, Numerical and statistical analysis of aliquot sequences, Experimental Mathematics (2018), pp. 1-12.
Paul Erdős, Über die Zahlen der Form sigma(n)-n und n-phi(n), Elemente der Math., Vol. 28 (1973), pp. 83-86; alternative link (in German).
Victor Meally, Letter to N. J. A. Sloane, no date.
Paul Pollack and Carl Pomerance, Some problems of Erdős on the sum-of-divisors function, For Richard Guy on his 99th birthday: May his sequence be unbounded, Trans. Amer. Math. Soc. Ser. B, Vol. 3 (2016), pp. 1-26; Errata.
Carl Pomerance and Hee-Sung Yang, On untouchable numbers and related problems, 2012.
Carl Pomerance and Hee-Sung Yang, Variant of a theorem of Erdős on the sum-of-proper-divisors function, Math. Comp., Vol. 83, No. 288 (2014), pp. 1903-1913; alternative link.
Giovanni Resta, Untouchable numbers (the 150232 terms up to 10^6).
H. J. J. te Riele, A theoretical and computational study of generalized aliquot sequences, Mathematisch Centrum, Amsterdam, 1976. See chapter 9.
Eric Weisstein's World of Mathematics, Untouchable Number.
Wikipedia, Untouchable number.
MATHEMATICA
untouchableQ[n_] := Catch[ Do[ If[n == DivisorSigma[1, k]-k, Throw[True]], {k, 0, (n-1)^2}]] === Null; Reap[ Table[ If[ untouchableQ[n], Print[n]; Sow[n]], {n, 2, 700}]][[2, 1]] (* Jean-François Alcover, Jun 29 2012, after Benoit Cloitre *)
PROG
(PARI) isA078923(n)=if(n==0 || n==1, return(1)); for(m=1, (n-1)^2, if( sigma(m)-m == n, return(1))); 0
isA005114(n)=!isA078923(n)
for(n=1, 700, if (isA005114(n), print(n))) \\ R. J. Mathar, Aug 10 2006
(PARI) is(n)=if(n%2 && n<4e18, return(n==5)); forfactored(m=1, (n-1)^2, if(sigma(m)-m[1]==n, return(0))); 1 \\ Charles R Greathouse IV, Dec 05 2022
KEYWORD
nonn,nice
EXTENSIONS
More terms from David W. Wilson
STATUS
approved
a(n) = number of m such that sum of proper divisors of m (A001065(m)) is n.
+20
26
0, 1, 1, 0, 2, 1, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 2, 2, 3, 2, 2, 1, 3, 1, 2, 1, 2, 1, 5, 2, 3, 1, 3, 1, 4, 1, 1, 3, 4, 2, 5, 2, 3, 2, 3, 1, 6, 2, 4, 0, 3, 2, 6, 1, 5, 1, 3, 1, 6, 2, 3, 3, 6, 1, 6, 1, 2, 1, 5, 1, 8, 3, 4, 3, 5, 1, 7, 1, 6, 1, 4, 1, 8, 1, 5, 0, 5, 2, 9, 2, 4, 1, 4, 0, 9, 1, 3, 2, 6, 1, 8, 2, 7, 4
OFFSET
2,5
COMMENTS
The offset is 2 since there are infinitely many numbers (all the primes) for which A001065 = 1.
The graph of this sequence, shifted by 1, looks similar to that of A061358, which counts Goldbach partitions of n. - T. D. Noe, Dec 05 2008
For n > 2, a(n) <= A000009(n) as all divisor lists must have distinct values. - Roderick MacPhee, Sep 13 2016
The smallest k > 0 such that there are exactly n numbers whose sum of proper divisors is k is A125601(n). - Bernard Schott, Mar 23 2023
LINKS
Carl Pomerance, The first function and its iterates, pp. 125-138 in Connections in Discrete Mathematics, ed. S. Butler et al., Cambridge, 2018.
FORMULA
From Bernard Schott, Mar 23 2023: (Start)
a(n) = 0 iff n is in A005114 (untouchable numbers).
a(n) = 1 iff n is in A057709 ("hermit" numbers).
a(n) = 2 iff n is in A057710.
a(n) > 1 iff n is in A160133. (End)
EXAMPLE
a(6) = 2 since 6 is the sum of the proper divisors of 6 and 25.
MAPLE
with(numtheory): for n from 2 to 150 do count := 0: for m from 1 to n^2 do if sigma(m) - m = n then count := count+1 fi: od: printf(`%d, `, count): od:
PROG
(PARI) list(n)=my(v=vector(n-1), k); for(m=4, n^2, k=sigma(m)-m; if(k>1 & k<=n, v[k-1]++)); v \\ Charles R Greathouse IV, Apr 21 2011
CROSSREFS
KEYWORD
easy,nonn
EXTENSIONS
More terms from James A. Sellers, Feb 19 2001
STATUS
approved
a(n) = n AND A001065(n), where AND is bitwise-and (A004198) & A001065 = sum of proper divisors.
+20
22
0, 0, 1, 0, 1, 6, 1, 0, 0, 8, 1, 0, 1, 10, 9, 0, 1, 16, 1, 20, 1, 6, 1, 0, 0, 16, 9, 28, 1, 10, 1, 0, 1, 0, 1, 36, 1, 6, 1, 32, 1, 34, 1, 40, 33, 10, 1, 0, 0, 34, 17, 36, 1, 2, 17, 0, 17, 32, 1, 44, 1, 34, 41, 0, 1, 66, 1, 0, 1, 66, 1, 72, 1, 8, 1, 64, 1, 74, 1, 64, 0, 0, 1, 4, 21, 6, 1, 88, 1, 16, 17, 76, 1, 18, 25, 0, 1, 64, 33, 100, 1, 98, 1, 104, 65
OFFSET
1,6
COMMENTS
The peculiar look of the scatterplot is partly an artifact of the logarithmic scale. Compare also to the scatterplot of A318468.
FORMULA
a(n) = A004198(n, A001065(n)).
a(n) = A000203(n) - A318456(n) = (A000203(n)-A318457(n))/2.
MATHEMATICA
Table[BitAnd[n, DivisorSigma[1, n] - n], {n, 100}] (* Vincenzo Librandi, Aug 29 2018 *)
PROG
(PARI) A318458(n) = bitand(n, sigma(n)-n);
(Magma) [SumOfDivisors(n)-BitwiseOr(n, SumOfDivisors(n)-n): n in [1..100]]; // Vincenzo Librandi, Aug 29 2018
KEYWORD
nonn,base,look
AUTHOR
Antti Karttunen, Aug 26 2018
STATUS
approved
Characteristic function for deficient numbers (A005100): a(n) = 1 if A001065(n) < n, 0 otherwise.
+20
17
1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0
OFFSET
1
FORMULA
a(n) = 1 if A033879(n) > 0, 0 otherwise.
a(n) = 1 - A294936(n).
a(n) = 1 - sign(floor(sigma(n)/(2*n))), where sigma is the sum of the divisors of n (A000203). - Wesley Ivan Hurt, Oct 01 2020
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = A318172. - Amiram Eldar, Jul 25 2022
MATHEMATICA
Table[1 - Sign[Floor[DivisorSigma[1, n]/(2 n)]], {n, 100}] (* Wesley Ivan Hurt, Oct 02 2020 *)
CROSSREFS
Cf. A005100 (positions of 1's), A023196 (of 0's).
Cf. A000203 (sigma).
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Nov 12 2017
STATUS
approved
Characteristic function for abundant numbers (A005101): a(n) = 1 if A001065(n) > n, 0 otherwise.
+20
17
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1
OFFSET
1
FORMULA
a(n) = 1 if A033880(n) > 0, 0 otherwise.
a(n) = 1 - A294935(n).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = A302991. - Amiram Eldar, Jul 25 2022
MATHEMATICA
a[n_] := If[DivisorSigma[1, n] > 2*n, 1, 0]; Array[a, 100] (* Amiram Eldar, Jul 25 2022 *)
PROG
(PARI) a(n) = sigma(n) > 2*n; \\ Michel Marcus, Jul 25 2022
CROSSREFS
Cf. A005101 (positions of ones), A263837 (of zeros).
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 12 2017
STATUS
approved
Numbers k whose sum of proper divisors (A001065(k)) exceeds that of all smaller numbers.
+20
15
1, 2, 4, 6, 8, 10, 12, 18, 20, 24, 30, 36, 48, 60, 72, 84, 90, 96, 108, 120, 144, 168, 180, 216, 240, 288, 300, 336, 360, 420, 480, 504, 540, 600, 660, 720, 840, 960, 1008, 1080, 1200, 1260, 1440, 1560, 1680, 1980, 2100, 2160, 2340, 2400, 2520, 2880, 3120, 3240
OFFSET
1,2
COMMENTS
The highly abundant numbers A002093 are a subsequence since if sigma(k) - k > sigma(m) - m for all m < n then sigma(k) > sigma(m). - Charles R Greathouse IV, Sep 13 2016
LINKS
Don Reble, Table of n, a(n) for n = 1..6524 (first 372 terms from T. D. Noe, terms 373 to 1000 from Donovan Johnson, terms 1001 to 2750 from Robert G. Wilson v)
EXAMPLE
From William A. Tedeschi, Aug 19 2010: (Start)
-- 12: 1+2+3+4+6 = 16
13: 1 = 1
14: 1+2+7 = 10
15: 1+3+5 = 9
16: 1+2+4+8 = 15
17: 1 = 1
-- 18: 1+2+3+6+9 = 21
As 12 had the previous (earliest) highest, it is a term; then since 18 has the new highest, it is a term. (End)
Table of initial values of n, a(n), A034091(n) = f(a(n)), where f(k) = sigma(k)-k = A001065(k):
1, 1, 0
2, 2, 1
3, 4, 3
4, 6, 6
5, 8, 7
6, 10, 8
7, 12, 16
8, 18, 21
9, 20, 22
10, 24, 36
11, 30, 42
12, 36, 55
13, 48, 76
14, 60, 108
15, 72, 123
16, 84, 140
17, 90, 144
18, 96, 156
19, 108, 172
20, 120, 240
MATHEMATICA
A = {}; mx = -1; For[ k = 1, k < 10000, k++, t = DivisorSigma[1, k] - k; If[ t > mx, mx = t; AppendTo[A, k]]]; A (* slightly modified by Robert G. Wilson v, Aug 28 2022 *)
DeleteDuplicates[Table[{n, DivisorSigma[1, n]-n}, {n, 5000}], GreaterEqual[ #1[[2]], #2[[2]]]&][[All, 1]] (* Harvey P. Dale, Jan 15 2023 *)
PROG
(PARI) r=0; for(n=1, 1e6, t=sigma(n)-n; if(t>r, r=t; print1(n", "))) \\ Charles R Greathouse IV, Sep 13 2016
CROSSREFS
This sequence and A034091 together give the record high points in A001065.
Supersequence of A002093.
KEYWORD
nonn,nice
AUTHOR
EXTENSIONS
More terms from Erich Friedman
STATUS
approved
Numbers k such that there is a unique m for which the sum of the aliquot parts of m (A001065) is k.
+20
14
3, 4, 7, 9, 10, 11, 12, 18, 24, 26, 28, 30, 34, 36, 38, 39, 48, 56, 58, 60, 66, 68, 70, 72, 78, 80, 82, 84, 86, 94, 98, 102, 112, 116, 118, 122, 126, 128, 132, 138, 142, 144, 158, 160, 164, 168, 172, 174, 178, 180, 190, 192, 204, 208, 212, 220, 222, 224, 228, 250
OFFSET
1,1
COMMENTS
Alanen (1972) used the term "hermit" for a number k such that x = k is the only solution to A001065(x) = k. These numbers are the perfect numbers (A000396) in this sequence. Of the first 4 perfect numbers, 6, 28, 496 and 8128, only 28 is a term. - Amiram Eldar, Mar 03 2021
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from T. D. Noe)
Jack David Alanen, Empirical study of aliquot series, Ph.D Thesis, Yale University, 1972.
Eric Weisstein's World of Mathematics, Restricted Divisor Function.
Eric Weisstein's World of Mathematics, Aliquot Sequence.
EXAMPLE
12 is a member of the sequence because s(121)=12 (and because no other integer m satisfies s(m) = 12).
18 is included because the sum of aliquot parts of 289 = 1+17 = 18, this being the only number with this property. 6 is not included because the sum of aliquot parts of 6 = 1+2+3 = 6 and the sum of aliquot parts of 25 = 1+5 = 6.
MATHEMATICA
seq[max_] := Module[{s = Table[0, {n, 1, max}], i}, Do[If[(i = DivisorSigma[1, n] - n) <= max, s[[i]]++], {n, 2, (max - 1)^2 }]; Position[s, 1] // Flatten]; seq[250] (* Amiram Eldar, Dec 26 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jack Brennen, Oct 24 2000
EXTENSIONS
Removed 1 from the sequence. - T. D. Noe, Dec 02 2008
STATUS
approved
Least m such that the sum of the aliquot parts of m (A001065) equals n, or 0 if no such number exists.
+20
13
2, 0, 4, 9, 0, 6, 8, 10, 15, 14, 21, 121, 27, 22, 16, 12, 39, 289, 65, 34, 18, 20, 57, 529, 95, 46, 69, 28, 115, 841, 32, 58, 45, 62, 93, 24, 155, 1369, 217, 44, 63, 30, 50, 82, 123, 52, 129, 2209, 75, 40, 141, 0, 235, 42, 36, 106, 99, 68, 265, 3481, 371, 118, 64, 56
OFFSET
1,1
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 1..10000 (first 9884 terms from Richard J. Mathar)
FORMULA
a(n) = min(x, A001065(x)=n) or a(n)=0 if n is an untouchable number (i.e., if from A005114).
EXAMPLE
For n=128: a(128)=16129, divisors={1,127,16129}, 1+127=sigma(n)-n=128 and 16129 is the smallest.
MATHEMATICA
f[x_] := DivisorSigma[1, x]-x; t=Table[0, {128}]; Do[c=f[n]; If[c<129&&t[[c]]==0, t[[c]]=n], {n, 1000000}]; t
CROSSREFS
See A359132 for another version.
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 12 2002
STATUS
approved
Characteristic function for nondeficient numbers (A023196): a(n) = 1 if A001065(n) >= n, 0 otherwise.
+20
12
0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1
OFFSET
1
COMMENTS
Differs from A210455 for the first time at n=70, and after that at n=836, 4030, 5830, 7192, 7912, 9272, etc., that is, at weird numbers, A006037.
Differs from A336835 for the first time at n=120. - Antti Karttunen, Apr 04 2022
FORMULA
a(n) = 1 if A033880(n) >= 0, 0 otherwise.
a(n) = 1 - A294934(n).
a(n) >= A210455(n).
a(n) >= A341619(n). - Antti Karttunen, Apr 04 2022
EXAMPLE
The proper divisors of 6 are 1, 2 and 3, and their sum is 6, and because 6 >= 6, a(6) = 1.
The proper divisors of 70 are 1, 2, 5, 7, 10, 14, and 35, and their sum is 74, and because 74 >= 70, a(70) = 1.
MATHEMATICA
Table[If[DivisorSigma[1, n]>=2n, 1, 0], {n, 120}] (* Harvey P. Dale, Mar 22 2020 *)
PROG
(PARI) a(n) = sigma(n, -1)>=2 \\ Felix Fröhlich, Nov 12 2017
CROSSREFS
Cf. A023196 (positions of ones), A005100 (of zeros), A341620 (inverse Möbius transform), A294927 [= A341620(n)-a(n)], A341619.
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 12 2017
STATUS
approved
Restricted growth sequence transform of A291765, filter combining A001065(n) and A046523(n), the sum of proper divisors and the prime signature of n.
+20
12
1, 2, 2, 3, 2, 4, 2, 5, 6, 7, 2, 8, 2, 9, 10, 11, 2, 12, 2, 13, 14, 15, 2, 16, 17, 18, 19, 20, 2, 21, 2, 22, 23, 24, 25, 26, 2, 27, 28, 29, 2, 30, 2, 31, 32, 33, 2, 34, 35, 36, 37, 38, 2, 39, 28, 40, 41, 42, 2, 43, 2, 44, 45, 46, 47, 48, 2, 49, 50, 51, 2, 52, 2, 53, 54, 55, 47, 56, 2, 57, 58, 59, 2, 60, 41, 61, 62, 63, 2, 64, 37, 65, 66, 67, 68, 69, 2, 70, 71
OFFSET
1,2
LINKS
EXAMPLE
a(51) = a(91) (= 33) because both are nonsquare semiprimes (3*17 and 7*13), and the sum of their proper divisors (A001065) are equal 1+3+17 = 1+7+13 = 21.
PROG
(PARI)
up_to = 65537;
rgs_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), u=1); for(i=1, length(invec), if(mapisdefined(om, invec[i]), my(pp = mapget(om, invec[i])); outvec[i] = outvec[pp] , mapput(om, invec[i], i); outvec[i] = u; u++ )); outvec; };
write_to_bfile(start_offset, vec, bfilename) = { for(n=1, length(vec), write(bfilename, (n+start_offset)-1, " ", vec[n])); }
A001065(n) = (sigma(n)-n);
A046523(n) = { my(f=vecsort(factor(n)[, 2], , 4), p); prod(i=1, #f, (p=nextprime(p+1))^f[i]); }; \\ This function from Charles R Greathouse IV, Aug 17 2011
A291765(n) = (1/2)*(2 + ((A001065(n)+A046523(n))^2) - A001065(n) - 3*A046523(n));
write_to_bfile(1, rgs_transform(vector(up_to, n, A291765(n))), "b300235.txt");
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 01 2018
STATUS
approved

Search completed in 0.223 seconds