[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A097978
a(n) = least m such that m and m+n are both products of exactly n distinct primes.
2
1, 2, 33, 102, 1326, 115005, 31295895, 159282123, 9617162170, 1535531452026, 1960347077019695, 16513791577659519, 271518698440871310
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
a(2) = 33 because 33 and 35 are both in A006881.
a(3) = 102 because 102 and 105 are both in A007304.
a(4) = 1326 because 1326 and 1330 are both in A046386.
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
Cf. A098515. A135058 (without regard to multiplicity).
Sequence in context: A065647 A041127 A282726 * A377353 A334197 A156369
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