A121034 Multiples of 14 containing a 14 in their decimal representation.
14, 140, 714, 1148, 1400, 1414, 1428, 1442, 1456, 1470, 1484, 1498, 2114, 2142, 2814, 3514, 4144, 4214, 4914, 5614, 6146, 6314, 7014, 7140, 7714, 8148, 8414, 9114, 9142, 9814, 10514, 11144, 11214, 11410, 11424, 11438, 11452, 11466, 11480, 11494
Offset: 1
Links
Crossrefs
Programs
-
Mathematica
Select[14*Range[2000], StringContainsQ[IntegerString[#], "14"] &] (* Paolo Xausa, Feb 25 2024 *)
-
PARI
is(n)=if(n%14, return(0)); while(n>13, if(n%100==14, return(1)); n\=10); 0 \\ Charles R Greathouse IV, Feb 12 2017
Formula
a(n) ~ 14n. - Charles R Greathouse IV, Nov 02 2022
Extensions
Corrected by T. D. Noe, Oct 25 2006