OFFSET
1,1
COMMENTS
Equally, numbers k such that sigma(k) is equal to A005940(1+k).
The primes in this sequence are obtained by subtracting 1 from those terms of A029747 that are one more than a prime.
Questions: Are there other composite terms than 55 and 87? Are there other even terms than 2? (All such even terms should also occur in A332218).
LINKS
MATHEMATICA
Select[Range[10^5], DivisorSigma[1, #] == Block[{p = Partition[Split[Join[IntegerDigits[#, 2], {2}]], 2], q}, Times @@ Flatten[Table[q = Take[p, -i]; Prime[Count[Flatten[q], 0] + 1]^q[[1, 1]], {i, Length[p]}]]] &] (* Michael De Vlieger, Feb 12 2020, after Robert G. Wilson v at A005940 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Antti Karttunen, Feb 10 2020
STATUS
approved