login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074202 Numbers n such that the number of 1's in the binary expansion of n divides 2^n-1. 3
1, 2, 4, 8, 14, 16, 22, 26, 28, 32, 38, 42, 44, 50, 52, 56, 64, 70, 74, 76, 82, 84, 88, 98, 100, 104, 112, 124, 128, 134, 138, 140, 146, 148, 152, 162, 164, 168, 176, 188, 194, 196, 200, 208, 220, 224, 236, 244, 248, 256, 262, 266, 268, 274, 276, 280, 290, 292 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Odd terms (1, 351, 375, ...) are in A074203.

LINKS

Table of n, a(n) for n=1..58.

PROG

(PARI) isok(n) = !((2^n-1) % hammingweight(n)); \\ Michel Marcus, Nov 29 2013

CROSSREFS

Cf. A000120, A074293. Different from A128309.

Sequence in context: A049133 A063033 A128309 * A086303 A209838 A121982

Adjacent sequences:  A074199 A074200 A074201 * A074203 A074204 A074205

KEYWORD

base,easy,nonn

AUTHOR

Benoit Cloitre, Sep 17 2002

EXTENSIONS

Edited by N. J. A. Sloane, May 10 2007

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 28 21:37 EDT 2020. Contains 334690 sequences. (Running on oeis4.)