

A256715


Number of integers m in [0..10^n1] such that m has no digit in common with the last n digits of either m^2, m^3 or m^4.


3



4, 15, 33, 46, 67, 75, 76, 64, 77, 69, 75, 72, 75, 96, 121, 137, 127, 139, 152, 153, 161, 159, 155, 165, 184, 188, 206, 218, 211, 232, 238, 244, 261, 263, 267, 291, 290, 298, 301, 326, 318, 326, 334, 343, 335, 334, 349, 371, 420, 439, 451, 465, 474, 485, 524
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Similar sequences with more than three powers have all their terms = 0.


LINKS

Lars Blomberg, Table of n, a(n) for n = 1..300


EXAMPLE

For n=2:
m = 88, m^2 = 7744, m^3 = 681472, m^4 = 59969536 and none of 44, 72, 36 has a digit in common with 88 so it is counted.
m = 89, m^2 = 7921, m^3 = 704969, m^4 = 62742241 and 69 has digit 9 in common with 89 so it is not counted.
For n=3:
m = 988, m^2 = 976144, m^3 = 964430272, m^4 = 952857108736 and none of 144, 272, 736 has a digit in common with 988 so it is counted.
m = 989, m^2 = 978121, m^3 = 967361669, m^4 = 956720690641 and 669 has digit 9 in common with 989 so it is not counted.


CROSSREFS

Cf. A256713, A256714.
Sequence in context: A110341 A317614 A116035 * A022265 A120389 A124150
Adjacent sequences: A256712 A256713 A256714 * A256716 A256717 A256718


KEYWORD

base,nonn


AUTHOR

Lars Blomberg, Apr 09 2015


STATUS

approved



