OFFSET
0,2
FORMULA
a(n) = A079008(2^n).
EXAMPLE
For n = 7: a(7) = 175327 because phi(175327+j), for j=0..127 are all distinct: {175326, 87648, ..., 175452, 85320}.
PROG
(PARI) isdist(v) = forstep(i = #v, 1, -1, forstep(j = i - 1, 1, -1, if(v[i] == v[j], return(j)))); 0;
a(n) = {my(m = 2^n, phis = vector(m, i, eulerphi(i)), k = m, ind = isdist(phis)); while(ind != 0, phis = concat(vecextract(phis, Str("^1.."ind)), vector(ind, i, eulerphi(k+i))); k += ind; ind = isdist(phis)); k - m + 1; } \\ Amiram Eldar, Aug 27 2024
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Labos Elemer, Jan 10 2003
EXTENSIONS
a(8)-a(9) from Donovan Johnson, Oct 27 2008
a(10) from Donovan Johnson, Nov 13 2010
STATUS
approved