OFFSET
0,2
COMMENTS
Note that a(n) and a(n)+n are required to be squarefree (compare A135058). - David Wasserman, Feb 19 2008
If we change "exactly n" to "at least n", the sequence is still the same at least through a(12). - David Wasserman, Feb 19 2008
a(13) <= 592357638037885411965. - David Wasserman, Feb 19 2008
FORMULA
a(n) = min{m: A001221(m) = A001222(m) = A001221(m+n) = A001222(m+n)= n}. - R. J. Mathar, Mar 01 2017
EXAMPLE
MATHEMATICA
f[n_] := Block[{lst = FactorInteger[n], a, b}, a = Plus @@ Last /@ lst; b = Length[lst]; If[a == b, b, 0]]; g[n_] := Block[{k = Product[ Prime[i], {i, n}]}, While[ f[k] != n || f[k] != f[k + n], k++ ]; k]; Do[ Print[ g[n]], {n, 1, 6}] (* Robert G. Wilson v, Sep 11 2004 *)
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Lekraj Beedassy, Sep 07 2004
EXTENSIONS
Edited and extended by Mark Hudson (mrmarkhudson(AT)hotmail.com), Sep 08 2004
More terms from David Wasserman, Feb 19 2008
STATUS
approved