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!)
A229826 Evil (A001969) numbers divisible by 7 but not divisible by 3. 1

%I #22 Feb 20 2021 07:55:38

%S 77,119,154,175,238,245,287,308,329,343,350,371,413,427,455,469,476,

%T 490,497,553,574,581,616,658,679,686,700,742,763,791,826,833,854,910,

%U 917,931,938,952,980,994,1043,1085,1106,1127,1141,1148,1162,1169,1232,1253

%N Evil (A001969) numbers divisible by 7 but not divisible by 3.

%C By the Moser-Newman phenomenon, among the first N positive integers divisible by 3, the evil numbers are always in the majority. But what happens if we remove from the positive numbers the multiples of 3? We conjecture that in this case we obtain another phenomenon: among the first N such positive integers divisible by 7, the odious numbers (A000069) are always in the majority.

%H Harvey P. Dale, <a href="/A229826/b229826.txt">Table of n, a(n) for n = 1..1000</a>

%H J. Coquet, <a href="http://gdz.sub.uni-goettingen.de/dms/resolveppn/?PPN=GDZPPN002099551">A summation formula related to the binary digits</a>, Inventiones Mathematicae 73 (1983), pp. 107-115.

%H D. J. Newman, <a href="http://dx.doi.org/10.1090/S0002-9939-1969-0244149-8">On the number of binary digits in a multiple of three</a>, Proc. Amer. Math. Soc. 21 (1969) 719-721.

%H Vladimir Shevelev, <a href="http://www.hindawi.com/journals/ijmms/2008/908045.html">Generalized Newman phenomena and digit conjectures on primes</a>, Internat. J. of Mathematics and Math. Sciences, 2008 (2008), Article ID 908045, 1-12.

%t With[{evil=Select[Range[0,1500],EvenQ[DigitCount[#,2,1]]&]},Select[evil, Divisible[#,7]&&!Divisible[#,3]&]] (* _Harvey P. Dale_, Dec 04 2014 *)

%o (PARI) is(n)=hammingweight(n)%2==0 && gcd(n,21)==7 \\ _Charles R Greathouse IV_, Sep 30 2013

%Y Cf. A001969, A000069, A224072.

%K nonn,base

%O 1,1

%A _Vladimir Shevelev_, Sep 30 2013

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 March 29 10:59 EDT 2024. Contains 371277 sequences. (Running on oeis4.)