login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A212302 Numbers k whose sum of proper odious divisors (A000069) equals k. 2
28, 496, 8128, 415800, 2096128, 33550336, 8589869056 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Sequence could be called the "odious-perfect numbers".
By the Euclid-Euler theorem, an even number k is perfect (A000396) if and only if k = 2^(m-1)*(2^m-1), where 2^m-1 is prime. From this it follows that all even perfect numbers greater than 6 have only odious divisors (A000069). Therefore, they all are in this sequence. However, the sequence also contains non-perfect numbers. The first two such numbers are 415800 and 2096128 (and no others up to 10^11). Comparing this sequence with A230587, one can see that the terms of this sequence are much rarer. It is an interesting phenomenon.
LINKS
MATHEMATICA
okQ[n_] := DivisorSum[n, If[OddQ[Total[IntegerDigits[#, 2]]] && #<n, #, 0] &] == n; Reap[For[n=1, n<9*10^9, n++, If[okQ[n], Print[n]; Sow[n]]]][[2, 1]] (* Jean-François Alcover, Dec 06 2015 *)
PROG
(PARI) is(n)=sumdiv(n, d, if(hammingweight(d)%2 && d<n, d))==n \\ Charles R Greathouse IV, Oct 24 2013
CROSSREFS
Sequence in context: A076172 A004336 A079598 * A046999 A046986 A330164
KEYWORD
nonn,base,more
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 23 01:22 EDT 2024. Contains 374544 sequences. (Running on oeis4.)