OFFSET
1,1
EXAMPLE
For k = 18, uphi(18) = 8 = 1 * 8.
For k = 68, uphi(68) = 48 = 6 * 8.
For k = 87, uphi(87) = 56 = 8 * 7.
For k = 154, uphi(154) = 60 = 15 * 4.
MATHEMATICA
f[p_, e_] := p^e - 1; uphi[1] = 1; uphi[n_] := Times @@ f @@@ FactorInteger[n]; seqQ[n_] := Module[{d = IntegerDigits[n]}, MemberQ[Times @@@ Table[FromDigits /@ {Take[d, k], Take[d, -Length[d] + k]}, {k, 1, Length[d] - 1}], uphi[n]]]; Select[Range[10, 43000], seqQ] (* Amiram Eldar, Aug 30 2020 *)
PROG
(Magma) uphi:=func<n|n eq 1 select 1 else &*[d[1]^d[2]-1: d in Factorization(n)]>; [k:k in [10..43000]| exists(c){i:i in [1..#Intseq(k)-1]| (k mod 10^i)*(k div 10^i) ne 0 and (k mod 10^i)*(k div 10^i) eq uphi(k)}];
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Marius A. Burtea, Aug 30 2020
STATUS
approved