OFFSET
1,2
EXAMPLE
a(3) = 373 because uphi(373*3) = uphi(373*3+1) and 373 is the smallest number with this property.
PROG
(PARI) uphi(n) = my(f=factor(n)); prod(i=1, #f~, f[i, 1]^f[1, 2]-1);
a(n) = {my(k = 1); while (uphi(k*n) != uphi(k*n+1), k++); k; }
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Aug 25 2017
STATUS
approved