|
|
A067249
|
|
Digits of sigma(n) end in phi(n).
|
|
1
|
|
|
1, 6, 84, 112, 141, 294, 1188, 1320, 2508, 4584, 5406, 8850, 14270, 17416, 23320, 31152, 79035, 117576, 125576, 132066, 149877, 160664, 162514, 164024, 167970, 170980, 177744, 184584, 223286, 1119636, 1124592, 1216644, 1481800, 1566920, 1626716
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
There are only 46 terms up to 10 million. - Harvey P. Dale, Oct 04 2012
|
|
LINKS
|
|
|
EXAMPLE
|
sigma(79035) = 138240 ends in phi(79035) = 38240, so 79035 is a term of the sequence.
|
|
MATHEMATICA
|
(*returns true if a ends with b, false o.w.*) f[a_, b_] := Module[{c, d, e, g, h, i, r}, r = False; c = ToString[a]; d = ToString[b]; e = StringLength[c]; g = StringPosition[c, d]; h = Length[g]; If[h > 0, i = g[[h]]; If[i[[2]] == e, r = True]]; r]; Select[Range[10^5], f[DivisorSigma[1, # ], EulerPhi[ # ]] & ]
dsepQ[n_]:=Module[{ep=EulerPhi[n]}, Mod[DivisorSigma[1, n], 10^ IntegerLength[ ep]]==ep]; Select[Range[250000], dsepQ] (* Harvey P. Dale, Oct 04 2012 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|