login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138831
n-th perfect number minus 1, written in base 2.
2
101, 11011, 111101111, 1111110111111, 1111111111110111111111111, 111111111111111101111111111111111, 1111111111111111110111111111111111111
OFFSET
1,1
COMMENTS
Subset of A138148, cyclops numbers with binary digits, only.
Subset of A002113, palindromes in base 10.
a(n) has 2*A090748(n) digits 1.
The number of digits of a(n) is 2*A000043(n)-1, equal to A133033(n), the number of proper divisors of n-th perfect number.
a(n) = (A135627(n) written in base 2).
FORMULA
a(n) = A138148(A090748(n)).
EXAMPLE
n ... A000396(n) - 1 = A135627(n) ............. a(n)
1 ............ 6 - 1 = ...... 5 ............... 101
2 ........... 28 - 1 = ..... 27 .............. 11011
3 .......... 496 - 1 = .... 495 ............ 111101111
4 ......... 8128 - 1 = ... 8127 .......... 1111110111111
5 ..... 33550336 - 1 = 33550335 .... 1111111111110111111111111
KEYWORD
nonn,base,less
AUTHOR
Omar E. Pol, Apr 08 2008, Apr 09 2008, Apr 14 2008
STATUS
approved