OFFSET
1,2
COMMENTS
Computing the number of digits of A and B, it is easy to prove that for any n written only with 0 and 1, there is no solution, hence a(n) = 0.
The same thing is true for some other numbers such as 201,210,211,300,. . . .
Any number of the submitted sequence a(n) of numbers A(P,n) satisfying the condition defines univocally and the number n and the vector P.On the contrary it should be not pertinent to submit the sequence of the associated numbers B(P,n) as the value of such a number does not define always univocally n and P. For example for n=26, a(n)=2916=(2^2)*(3^6) and B({2;3},26)=2236 which should be also be associated with A=223^6, as 223 is prime.
EXAMPLE
For any p of q digits, p^1 contains q digits, but p&1 contains q+1 digits, hence a(1)=0
For p1 = 2,3,5 and 7, p1^2<p1&2 but 11^2=121<112, hence a(2)=121
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Philippe Lallouet (philip.lallouet(AT)orange.fr), Jan 16 2008
EXTENSIONS
Edited by N. J. A. Sloane, Jan 15 2009
STATUS
approved