A253534 Larger member of a harmonious pair.
12, 28, 30, 40, 44, 56, 84, 96, 117, 120, 135, 140, 182, 184, 190, 198, 224, 234, 248, 252, 260, 264, 270, 280, 284, 308, 318, 360, 380, 420, 462, 476, 496, 496, 546, 564, 570, 580, 585, 585, 618, 630, 672, 752, 812, 819, 840, 855, 910, 924, 946, 992
Offset: 1
Keywords
Examples
4 and 12 form a harmonious pair since 4/sigma(4) + 12/sigma(12) = 4/7 + 3/7 = 1.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..1000
- Jamie Bishop, Abigail Bozarth, Rebekah Kuss, and Benjamin Peet, The Abundancy Index and Feebly Amicable Numbers, arXiv:2104.11366 [math.NT], 2021.
- M. Kozek, F. Luca, P. Pollack, and C. Pomerance, Harmonious numbers, IJNT, to appear.
Programs
-
Mathematica
s={}; Do[r = 1 - n/DivisorSigma[1,n]; Do[If[m/DivisorSigma[1,m] == r, AppendTo[s, n]], {m, 1, n-1}], {n, 1, 1000}]; s (* Amiram Eldar, Jun 24 2019 *)
-
PARI
nbsh(n) = {v = []; vn = n/sigma(n); for (m=1, n-1, if (m/sigma(m) + vn == 1, v = concat(v, m));); return (v);} lista(nn) = {for (n=1, nn, for (i=1, nbsh(n), print1(n, ", ")););}
Comments