A121035 Multiples of 15 containing a 15 in their decimal representation.
15, 150, 315, 615, 915, 1155, 1215, 1500, 1515, 1530, 1545, 1560, 1575, 1590, 1815, 2115, 2415, 2715, 3015, 3150, 3315, 3615, 3915, 4155, 4215, 4515, 4815, 5115, 5415, 5715, 6015, 6150, 6315, 6615, 6915, 7155, 7215, 7515, 7815, 8115, 8415, 8715, 9015
Offset: 1
Links
Crossrefs
Programs
-
Mathematica
Select[15*Range[1000], StringContainsQ[IntegerString[#], "15"] &] (* Paolo Xausa, Feb 25 2024 *)
-
PARI
is(n)=if(n%15, return(0)); while(n>14, if(n%100==15, return(1)); n\=10); 0 \\ Charles R Greathouse IV, Feb 12 2017
Formula
a(n) ~ 15n. - Charles R Greathouse IV, Nov 02 2022