|
Search: id:A065878
|
|
|
| A065878 |
|
Numbers which are not an integer multiple of their number of binary 1's. |
|
+0 4
|
|
| 3, 5, 7, 9, 11, 13, 14, 15, 17, 19, 22, 23, 25, 26, 27, 28, 29, 30, 31, 33, 35, 37, 38, 39, 41, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 56, 57, 58, 59, 61, 62, 63, 65, 67, 70, 71, 73, 74, 75, 76, 77, 78, 79, 82, 83, 85, 86, 87, 88, 89, 90, 91, 93, 94, 95, 97, 98, 99, 100
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=1,...,1000
|
|
EXAMPLE
|
5 is on the list since 5 is written in binary as 101 and 5 is not a multiple of 1+0+1=2.
|
|
PROGRAM
|
(PARI) Count(x, d)= { local(c=0, f); while (x>9, f=x%10; if (f==d, c++); x\=10); if (x==d, c++); return(c) } baseE(x, b)= { local(d, e=0, f=1); while (x>0, d=x%b; x\=b; e+=d*f; f*=10); return(e) } { n=0; for (m=1, 10^9, if (m%Count(baseE(m, 2), 1), write("b065878.txt", n++, " ", m); if (n==1000, return)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Nov 03 2009]
|
|
CROSSREFS
|
Complement of A049445. The base 10 equivalent is A065877. Cf. A000120, A049445, A058898, A065413, A065879, A065880.
Sequence in context: A081534 A097218 A007617 this_sequence A064996 A091569 A120890
Adjacent sequences: A065875 A065876 A065877 this_sequence A065879 A065880 A065881
|
|
KEYWORD
|
base,nonn,new
|
|
AUTHOR
|
Henry Bottomley (se16(AT)btinternet.com), Nov 26 2001
|
|
|
Search completed in 0.002 seconds
|