Start with n; if prime, stop; repeatedly sum squares of prime factors (counted with multiplicity), until reach 16 or a prime; set a(n) = 0 if no limit exists.

A029913

Start with n; if prime, stop; repeatedly sum squares of prime factors (counted with multiplicity), until reach 16 or a prime; set a(n) = 0 if no limit exists.

Terms

    a(0) =2a(1) =3a(2) =17a(3) =5a(4) =13a(5) =7a(6) =17a(7) =59a(8) =29a(9) =11a(10) =17a(11) =13a(12) =53a(13) =293a(14) =16a(15) =17a(16) =59a(17) =19

External references