A359082 Indices of records in A246600.
1, 3, 15, 63, 255, 495, 4095, 96255, 98175, 130815, 203775, 1048575, 5810175, 6455295, 16777215, 67096575, 88062975, 389656575, 553517055, 850917375, 1157349375, 9141354495, 12826279935, 22828220415, 26818379775, 31684427775, 68719476735, 242870910975, 1168231038975
Offset: 1
Links
Programs
-
Mathematica
s[n_] := DivisorSum[n, 1 &, BitAnd[n, #] == # &]; seq={}; sm = 0; Do[If[(sn = s[n]) > sm, sm = sn; AppendTo[seq, n]], {n, 1, 10^6}]; seq
-
PARI
lista(nmax) = {my(list = List(), ndmax = 0, d, s); for(n = 1, nmax, nd = sumdiv(n, d, bitand(d, n)==d); if(nd > ndmax, ndmax = nd; listput(list, n))); Vec(list)};
Extensions
a(28)-a(29) from Martin Ehrenstein, Dec 19 2022
Comments