login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054574 Begin with n-th prime, add its prime divisors (itself), repeat until reach a new prime; sequence gives prime reached. 3
23, 11, 17, 23, 47, 41, 53, 59, 71, 89, 167, 113, 269, 131, 167, 191, 179, 227, 239, 263, 251, 239, 251, 269, 293, 431, 311, 359, 383, 383, 383, 479, 479, 419, 449, 881, 2039, 491, 503, 521, 2039, 659, 2039, 743, 593, 599, 839, 743, 683, 911, 701, 719, 1103 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Prime factors are counted with multiplicity. - Sean A. Irvine, Feb 07 2022
LINKS
EXAMPLE
a(5)=47 because starting with the 5th prime, 11: 11+11=22; 22+2+11=35; 35+5+7=47, a prime.
MATHEMATICA
f[n_] := n + Plus @@ Times @@@ FactorInteger@n; a[n_] := NestWhile[f, (p = Prime[n]), # == p || CompositeQ[#] &]; Array[a, 100] (* Amiram Eldar, Sep 07 2019 *)
CROSSREFS
Cf. A054575.
Sequence in context: A033343 A128364 A281924 * A363371 A016837 A226218
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, Apr 11 2000
EXTENSIONS
Corrected by Jud McCranie, Jan 04 2001
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 27 03:52 EDT 2024. Contains 372009 sequences. (Running on oeis4.)