A121025 Multiples of 5 containing a 5 in their decimal representation.
5, 15, 25, 35, 45, 50, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 150, 155, 165, 175, 185, 195, 205, 215, 225, 235, 245, 250, 255, 265, 275, 285, 295, 305, 315, 325, 335, 345, 350, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 450, 455, 465, 475, 485
Offset: 1
Links
- Paolo Xausa, Table of n, a(n) for n = 1..10000 (terms 1..5000 from Muniru A Asiru)
- Index entries for 10-automatic sequences.
Crossrefs
Programs
-
GAP
Filtered([1..500],n-> n mod 5 = 0 and 5 in ListOfDigits(n)); # Muniru A Asiru, Feb 23 2019
-
Mathematica
Select[5*Range[200], MemberQ[IntegerDigits[#], 5] &] (* Paolo Xausa, Feb 25 2024 *)
-
PARI
is(n)=n%5==0 && setsearch(Set(digits(n)), 5) \\ Charles R Greathouse IV, Feb 12 2017
Formula
a(n) ~ 5n. - Charles R Greathouse IV, Feb 12 2017
Extensions
Typo in comment fixed by Reinhard Zumkeller, May 01 2011