OFFSET
1,2
EXAMPLE
11 is a member as f(x) = B0 + B1*x = 1 + 1*x has no factorization other than the trivial one, i.e., 1*(1+x), hence f(x) is irreducible over the ring of integers.
114 is a member as f(x) = B0 + B1*x + B2*x^2 = 4 + 1*x + 1*x^2 = 4 + x + x^2 is irreducible over the ring of integers.
MATHEMATICA
okQ[n_] := If[n<10, !CompositeQ[n], !MatchQ[Factor[(id = IntegerDigits[n]). x^Range[Length[id]-1, 0, -1]][[0]], Times|Power]]; Select[Range[120], okQ] (* Jean-François Alcover, Feb 01 2016 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Abdul Gaffar Khan, Jan 16 2016
STATUS
approved