A011536 Numbers that contain a 6.
6, 16, 26, 36, 46, 56, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 76, 86, 96, 106, 116, 126, 136, 146, 156, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 176, 186, 196, 206, 216, 226, 236, 246, 256, 260, 261, 262, 263, 264, 265, 266, 267, 268
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..3439
- Index entries for 10-automatic sequences.
Programs
-
GAP
Filtered([1..270],n->6 in ListOfDigits(n)); # Muniru A Asiru, Feb 24 2019
-
Magma
[n: n in [0..500] | 6 in Intseq(n) ]; // Vincenzo Librandi, Feb 15 2017
-
Mathematica
Select[Range[300], DigitCount[#, 10, 6]>0 &] (* Vincenzo Librandi, Feb 15 2017 *)
-
PARI
is(n)=!!setsearch(Set(digits(n)), 6) \\ Charles R Greathouse IV, Feb 12 2017
Formula
a(n) ~ n. - Charles R Greathouse IV, Nov 02 2022
Comments