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”).

Beastly (or hateful) numbers: numbers containing the string 666 in their decimal expansion.
13

%I #23 Oct 31 2018 19:40:08

%S 666,1666,2666,3666,4666,5666,6660,6661,6662,6663,6664,6665,6666,6667,

%T 6668,6669,7666,8666,9666,10666,11666,12666,13666,14666,15666,16660,

%U 16661,16662,16663,16664,16665,16666,16667,16668,16669,17666,18666

%N Beastly (or hateful) numbers: numbers containing the string 666 in their decimal expansion.

%H Jens Kruse Andersen, <a href="/A051003/b051003.txt">Table of n, a(n) for n = 1..1000</a>

%H Tony Padilla and Brady Haran, <a href="https://www.youtube.com/watch?v=zk_Q9y_LNzg">The Most Evil Number</a>, Numberphile video (2018)

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/BeastNumber.html">Beast Number</a>

%t Select[Range[18666], ! StringFreeQ[ToString[#], "666"] &] (* _Arkadiusz Wesolowski_, Sep 08 2011 *)

%Y Cf. A131645, A057564, A002282, A138563, A043515, A046720, A186086.

%K nonn,less,easy,base

%O 1,1

%A _Eric W. Weisstein_