A293876 Numbers having '16' as substring of their digits / decimal expansion.
16, 116, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 216, 316, 416, 516, 616, 716, 816, 916, 1016, 1116, 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, 1168, 1169, 1216, 1316, 1416, 1516, 1600, 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1613, 1614
Offset: 1
Links
Crossrefs
Programs
-
Mathematica
Select[Range[2000], StringContainsQ[IntegerString[#], "16"] &] (* Paolo Xausa, Feb 25 2024 *)
-
PARI
is_A293876 = has(n, p=16, m=10^#Str(p))=until(p>n\=10, n%m==p&&return(1))
Formula
a(n) ~ n. - Charles R Greathouse IV, Nov 02 2022
Comments