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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A029914 Start with n; repeatedly sum squares of prime factors (counted with multiplicity), until reach a prime p, then set a(n) = p; if reach a fixed point q, set a(n) = q; set a(n) = 0 if no limit exists. 1
 17, 59, 17, 31, 13 (list; graph; refs; listen; history; text; internal format)
 OFFSET 2,1 LINKS Table of n, a(n) for n=2..6. EXAMPLE 2 -> 2^2 = 4 -> 2^2 + 2^2 = 8 -> 2^2 + 2^2 + 2^12 = 12 -> 2^2 + 2^2 + 3^2 = 17, prime, so stop; a(2)=17. CROSSREFS Cf. A029913. Sequence in context: A146046 A048508 A020879 * A058319 A095089 A106922 Adjacent sequences: A029911 A029912 A029913 * A029915 A029916 A029917 KEYWORD nonn,more AUTHOR Dann Toliver EXTENSIONS More terms from Michel ten Voorde, Apr 12 2001 Incorrect extension reverted by Sean A. Irvine, Mar 08 2020 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.

Last modified September 21 15:01 EDT 2023. Contains 365502 sequences. (Running on oeis4.)