OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..100
EXAMPLE
phi(84) = 24, a substring of sigma(24) = 224, so 84 is a term of the sequence.
MATHEMATICA
r = {}; Do[If[StringPosition[ToString[DivisorSigma[1, i]], ToString[EulerPhi[i]]] != {}, r = Append[r, i]], {i, 1, 10^5}]; r
psQ[n_]:=Module[{ep=IntegerDigits[EulerPhi[n]], ds=IntegerDigits[ DivisorSigma[ 1, n]]}, MemberQ[Partition[ds, Length[ep], 1], ep]]; Select[Range[80000], psQ] (* Harvey P. Dale, Dec 15 2014 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Joseph L. Pe, Sep 25 2002
STATUS
approved
