A152520 Numbers n such that the decimal expansion of 2^n+5^n contains no 2's and no 5's (probably 11 is the last term).
1, 3, 4, 8, 10, 11
Offset: 1
Examples
{n, 2^n+5^n}:{1,7}, {3,133}, {4,641}, {8,390881}, {10,9766649}, {11,48830173}.
Programs
-
Mathematica
Do[If[Intersection[IntegerDigits[p=2^n+5^n],{2,5}]=={},Print[{n,p}]],{n,0,2000}]