Consider the periodic sequence S(n) defined by: b(1)=2, b(i+1) = b(i) + n if i is prime, b(i+1) = gpf(b(i)) if i is not prime, where gpf means "greatest prime factor"; then a(n) is the length of the repeating period of the sequence.
A131990
Consider the periodic sequence S(n) defined by: b(1)=2, b(i+1) = b(i) + n if i is prime, b(i+1) = gpf(b(i)) if i is not prime, where gpf means "greatest prime factor"; then a(n) is the length of the repeating period of the sequence.
Terms
- a(0) =3a(1) =2a(2) =3a(3) =6a(4) =5a(5) =2a(6) =4a(7) =5a(8) =7a(9) =9a(10) =4a(11) =8a(12) =6a(13) =2a(14) =3a(15) =8a(16) =8a(17) =14a(18) =6a(19) =10a(20) =5a(21) =4a(22) =4a(23) =7a(24) =6a(25) =5a(26) =15a(27) =11a(28) =15a(29) =2
External references
- oeis: A131990