login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A011536 Numbers that contain a 6. 26

%I

%S 6,16,26,36,46,56,60,61,62,63,64,65,66,67,68,69,76,86,96,106,116,126,

%T 136,146,156,160,161,162,163,164,165,166,167,168,169,176,186,196,206,

%U 216,226,236,246,256,260,261,262,263,264,265,266,267,268

%N Numbers that contain a 6.

%C These might be called "sexy" (or "sextic") numbers. - _Cino Hilliard_, Nov 28 2008

%H Vincenzo Librandi, <a href="/A011536/b011536.txt">Table of n, a(n) for n = 1..3439</a>

%H <a href="/index/Ar#10-automatic">Index entries for 10-automatic sequences</a>.

%t Select[Range[300], DigitCount[#, 10, 6]>0 &] (* _Vincenzo Librandi_, Feb 15 2017 *)

%o (PARI) is(n)=!!setsearch(Set(digits(n)), 6) \\ _Charles R Greathouse IV_, Feb 12 2017

%o (MAGMA) [n: n in [0..500] | 6 in Intseq(n) ]; // _Vincenzo Librandi_, Feb 15 2017

%o (GAP) Filtered([1..270],n->6 in ListOfDigits(n)); # _Muniru A Asiru_, Feb 24 2019

%K nonn,base,easy

%O 1,1

%A _N. J. A. Sloane_.

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 March 21 04:59 EDT 2019. Contains 321364 sequences. (Running on oeis4.)