A259231 Primitive numbers whose abundance is odd.
18, 100, 196, 968, 1352, 2450, 4624, 5776, 6050, 8450, 8464, 11025, 13456, 15376, 43808, 53792, 59168, 70688, 81796, 89888, 111392, 119072, 139876, 174724, 195364, 245025, 256036, 287296, 322624, 341056, 342225, 399424, 440896, 506944, 602176, 652864, 678976, 732736, 760384, 817216, 834632, 1032256
Offset: 1
Keywords
Examples
18, a(1), is in the sequence, but none of its multiples are. The first nonmultiple of 18 in A156903 is 100, so it is a(2).
Links
- Giovanni Resta, Table of n, a(n) for n = 1..5068 (terms < 10^12, first 449 from Robert G. Wilson v)
Crossrefs
Cf. A156903.
Programs
-
Mathematica
L = {}; Do[ab = DivisorSigma[1, n] - 2 n; If[ab > 0 && OddQ[ab] && ! Or @@ (IntegerQ /@ (n/L)), AppendTo[L, n]], {n, 10^5}]; L (* Giovanni Resta, Mar 25 2017 *)
-
PARI
isoddab(n) = my(ab=sigma(n)-2*n); (ab > 0) && (ab % 2); isok(n) = if (isoddab(n), fordiv(n, d, if ((d!=n) && isoddab(d), return (0))); return (1);); \\ Michel Marcus, Mar 24 2017
Comments