Define a function f on the positive integers by: if n is 1 or composite, stop; but if n = prime(k) then f(n) = k; a(n) = sum of terms in trajectory of n under repeated application of f.
A098383
Define a function f on the positive integers by: if n is 1 or composite, stop; but if n = prime(k) then f(n) = k; a(n) = sum of terms in trajectory of n under repeated application of f.
Terms
- a(0) =1a(1) =3a(2) =6a(3) =4a(4) =11a(5) =6a(6) =11a(7) =8a(8) =9a(9) =10a(10) =22a(11) =12a(12) =19a(13) =14a(14) =15a(15) =16a(16) =28a(17) =18a(18) =27a(19) =20a(20) =21a(21) =22a(22) =32a(23) =24a(24) =25a(25) =26a(26) =27a(27) =28a(28) =39a(29) =30
External references
- oeis: A098383