Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #23 Feb 26 2024 09:41:29
%S 15,115,150,151,152,153,154,155,156,157,158,159,215,315,415,515,615,
%T 715,815,915,1015,1115,1150,1151,1152,1153,1154,1155,1156,1157,1158,
%U 1159,1215,1315,1415,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1515
%N Numbers having '15' as substring of their digits.
%C Row 15 of A292690 and A293869. A121035 lists the terms which are divisible by 15.
%H Paolo Xausa, <a href="/A293875/b293875.txt">Table of n, a(n) for n = 1..10000</a>
%H <a href="/index/Ar#10-automatic">Index entries for 10-automatic sequences</a>
%F a(n) ~ n. - _Charles R Greathouse IV_, Nov 02 2022
%t Select[Range[2000], StringContainsQ[IntegerString[#], "15"] &] (* _Paolo Xausa_, Feb 25 2024 *)
%o (PARI) is_A293875 = has(n, p=15, m=10^#Str(p))=until(p>n\=10, n%m==p&&return(1))
%Y Cf. A292690, A293869.
%Y Cf. A011540, A011531, A011532, A011533, A011534, A011535, A011536, A011537, A011538, A011539: analog for '0' - '9'.
%Y Cf. A293870, A293871, A293872, A293873, A293874, A293876, A293877, A293878, A293879, A293880: same for '10' - '20'.
%Y Cf. A121041, A121022, A121023, A121024, A121025, A121026, A121027, A121028, A121029, A121030, A121031, A121032, A121033, A121034, A121035, A121036, A121037, A121038, A121039, A121040: subsequences of the above, containing only multiples of the pattern p.
%K nonn,base,easy
%O 1,1
%A _M. F. Hasler_, Oct 18 2017