OFFSET
1,1
COMMENTS
Third row of A113456.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..20000
EXAMPLE
a(4) = 3 because 3, 7 and 11 have the same prime signature.
MAPLE
s:= n-> sort(map(i-> i[2], ifactors(n)[2])):
a:= proc(n) option remember; local k; for k
while s(k)<>s(k+n) or s(k)<>s(k+2*n) do od; k
end:
seq(a(n), n=1..100); # Alois P. Heinz, Feb 28 2018
MATHEMATICA
s[n_] := FactorInteger[n][[All, 2]] // Sort;
a[n_] := Module[{k}, For[k = 2, True, k++, If[s[k] == s[k+n] == s[k+2n], Return[k]]]];
Array[a, 100] (* Jean-François Alcover, Nov 05 2020 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
David Wasserman, Jan 08 2006
STATUS
approved