login
A121025
Multiples of 5 containing a 5 in their decimal representation.
35
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,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000 (terms 1..5000 from Muniru A Asiru)
FORMULA
a(n) ~ 5n. - Charles R Greathouse IV, Feb 12 2017
MATHEMATICA
Select[5*Range[200], MemberQ[IntegerDigits[#], 5] &] (* Paolo Xausa, Feb 25 2024 *)
PROG
(PARI) is(n)=n%5==0 && setsearch(Set(digits(n)), 5) \\ Charles R Greathouse IV, Feb 12 2017
(GAP) Filtered([1..500], n-> n mod 5 = 0 and 5 in ListOfDigits(n)); # Muniru A Asiru, Feb 23 2019
KEYWORD
nonn,base,easy
AUTHOR
Reinhard Zumkeller, Jul 21 2006
EXTENSIONS
Typo in comment fixed by Reinhard Zumkeller, May 01 2011
STATUS
approved