login

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”).

A322516
Unstuffable numbers.
2
1, 2, 3, 4, 5, 6, 7, 8, 9, 23, 25, 27, 28, 31, 32, 36, 39, 41, 46, 47, 49, 54, 62, 69, 71, 73, 76, 78, 79, 84, 85, 86, 93, 95, 97, 115, 119, 127, 128, 129, 131, 133, 137, 139, 143, 146, 147, 149, 154, 156, 161
OFFSET
1,2
COMMENTS
Indices of 0 in A322515.
LINKS
MATHEMATICA
With[{x = 70}, Complement[Range@ x, Position[Array[Block[{w = #, s = Position[#, {}][[All, 1]]}, SelectFirst[Range[10^(Length@ s - 1), 10^Length@ s - 1], Function[k, Mod[FromDigits@ ReplacePart[w, Array[s[[#]] -> k[[#]] &, Length@ s]], #] == 0]@ IntegerDigits[#] &]] &@ Drop[Flatten[Map[Prepend[ConstantArray[{}, #], #] &, #], 1], -Last@ #] &@ IntegerDigits[#] &, x], _?IntegerQ][[All, 1]] ] ] (* Michael De Vlieger, Dec 13 2018 *)
CROSSREFS
Sequence in context: A318273 A061672 A272814 * A132080 A307636 A373722
KEYWORD
nonn,base
AUTHOR
Hans Havermann, Dec 13 2018
STATUS
approved