

A079789


a(n) = number of nonnegative integers m <= n having at least one digit in common with n.


0



1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 5, 6, 7, 8, 9, 10, 11, 12, 5, 14, 5, 8, 9, 10, 11, 12, 13, 14, 7, 16, 17, 7, 11, 12, 13, 14, 15, 16, 9, 18, 19, 20, 9, 14, 15, 16, 17, 18, 11, 20, 21, 22, 23, 11, 17, 18, 19, 20, 13, 22, 23, 24, 25, 26, 13, 20, 21, 22, 15, 24, 25, 26, 27, 28, 29
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,11


LINKS

Table of n, a(n) for n=0..76.


EXAMPLE

a(10) = 3 and the numbers m are: 0,1,10. a(14) = 7 with m = 1,4,10,11,12,13,14.


CROSSREFS

Sequence in context: A161560 A078796 A201929 * A131209 A116592 A152772
Adjacent sequences: A079786 A079787 A079788 * A079790 A079791 A079792


KEYWORD

easy,nonn,base


AUTHOR

Amarnath Murthy, Feb 04 2003


EXTENSIONS

Corrected and extended by Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 19 2003


STATUS

approved



