A098113 Numbers n such that n=(d_1+2)*(d_2+2)*...*(d_k+2) where d_1 d_2 ... d_k is the decimal expansion of n.
12, 24, 35, 56
Offset: 1
Examples
56 is in the sequence because 56=(5+2)*(6+2).
Programs
-
Mathematica
Do[d=IntegerDigits[n];k=Length[d];If[n==Product[d[[j]]+2, {j, k}], Print[n]], {n, 10000000}]
Comments