A135627 Perfect numbers minus 1.
5, 27, 495, 8127, 33550335, 8589869055, 137438691327, 2305843008139952127, 2658455991569831744654692615953842175, 191561942608236107294793378084303638130997321548169215
Offset: 1
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..15
Programs
-
Mathematica
(# (# + 1))/2 & /@ Select[2^Range[100] - 1, PrimeQ] - 1 (* G. C. Greubel, Oct 24 2016, based on Harvey P. Dale code from A000396 *)
Formula
a(n) = A000396(n) - 1.
Comments