|
|
A076973
|
|
Starting with 2, largest prime divisor of the sum of all previous terms.
|
|
4
|
|
|
2, 2, 2, 3, 3, 3, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 11, 11, 11, 11, 11, 11, 13, 13, 13, 13, 13, 13, 17, 17, 17, 17, 17, 17, 19, 19, 19, 19, 19, 19, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 29, 29, 29, 29, 29, 29, 29, 29, 31, 31, 31, 31, 31, 31, 31, 31, 37, 37, 37, 37, 37, 37, 37, 37
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Conjecture: start from any initial value a(1) = m >= 2 and define a(n) to be the largest prime factor of a(1)+a(2)+...+a(n-1); then a(n) = n/2 + O(log(n)) and there are infinitely many primes p such that a(2p)=p. - Benoit Cloitre, Jun 04 2003
|
|
LINKS
|
|
|
FORMULA
|
a(n) = p(m) (the m-th prime), where m is the smallest index such that n <= p(m+1) + p(m) - 2. - Max Alekseyev, Oct 21 2008
|
|
MATHEMATICA
|
nxt[{t_, a_}]:=Module[{c=FactorInteger[t][[-1, 1]]}, {t+c, c}]; NestList[nxt, {2, 2}, 80][[All, 2]] (* Harvey P. Dale, May 21 2017 *)
|
|
CROSSREFS
|
From the third term onwards the sequence coincides with A076272.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|