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

A055639
Number of nonzero digits of n which are not factors of n.
1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 2, 0, 1, 1, 2, 1, 2, 0, 1, 1, 0, 2, 1, 0, 2, 2, 1, 0, 1, 1, 2, 0, 1, 2, 2, 0, 2, 0, 1, 1, 2, 2, 0, 2, 2, 2, 2, 0, 1, 1, 1, 1, 1, 0, 2, 2, 2, 0, 1, 1, 2, 2, 1, 2, 0, 2, 2, 0, 1, 1, 2, 1, 1, 2, 2, 0, 2, 0, 1, 1, 1, 2, 1, 1, 2, 2, 0, 0, 0, 0, 1, 0, 0
OFFSET
1,23
LINKS
MATHEMATICA
Array[Count[Position[Most@ DigitCount@ #, _?(# > 0 &)][[All, 1]], k_ /; Mod[#, k] != 0] &, 105] (* Michael De Vlieger, Dec 23 2019 *)
PROG
(Magma) [#[c:c in Intseq(k) |not IsZero(c) and k mod c ne 0]:k in [1..105]]; // Marius A. Burtea, Dec 23 2019
CROSSREFS
Sequence in context: A181953 A025911 A060184 * A156542 A307990 A066360
KEYWORD
nonn,base,easy
AUTHOR
Henry Bottomley, Jun 06 2000
STATUS
approved