OFFSET
1,2
COMMENTS
This is the number reached by iterating the process used in generating A080695, and is similar to the sequence of home primes (A037274), differing by concatenation not of individual primes but, rather, of prime powers. The author suggests using the term 'away number' in a way analogous to 'home prime', thinking that merger of capital 'H' with the symbol '^' suggests capital 'A', etc. (and prime powers--not merely primes--can result, depending on the number). Each positive integral value n should, with heuristic probability 1, have such an away number, and 303 is the first number presenting any challenge finding such (at time of submission). a(1)=1 as a convention, and the numbers that are their own away numbers are the members of A000961.
EXAMPLE
MATHEMATICA
f[n_]:=Module[{l=FactorInteger[n]},
Do[l[[i]]=l[[i, 1]]^l[[i, 2]], {i, 1, Length[l]}];
l=FromDigits[Flatten[IntegerDigits/@l]]];
fp[n_]:=FixedPoint[f, n]; fp/@Range[65] (* Ivan N. Ianakiev, Aug 02 2015 *)
PROG
(PARI)
{
print1(1", "); n=2;
while(1,
N=n; f=factor(N); m=matsize(f)[1];
while(m!=1,
N=f[1, 1]^f[1, 2];
for(i=2, m,
e=10; k=f[i, 1]^f[i, 2];
while(k>e, e*=10); N*=e; N+=k);
f=factor(N); m=matsize(f)[1]);
print1(N", "); n++)
}
CROSSREFS
KEYWORD
nonn,base
AUTHOR
James G. Merickel, Apr 27 2014
EXTENSIONS
a(65) corrected by Ivan N. Ianakiev, Aug 02 2015
STATUS
approved