A011535 Numbers that contain a 5.
5, 15, 25, 35, 45, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 65, 75, 85, 95, 105, 115, 125, 135, 145, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 165, 175, 185, 195, 205, 215, 225, 235, 245, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..3439
- Index entries for 10-automatic sequences.
Crossrefs
Cf. A043509.
Programs
-
GAP
Filtered([1..260],n->5 in ListOfDigits(n)); # Muniru A Asiru, Feb 24 2019
-
Magma
[n: n in [0..500] | 5 in Intseq(n) ]; // Vincenzo Librandi, Feb 15 2017
-
Mathematica
Select[Range[300], DigitCount[#, 10, 5]>0 &] (* Vincenzo Librandi, Feb 15 2017 *)
Formula
a(n) ~ n. - Charles R Greathouse IV, Feb 12 2017