a(1) = a(2) = 1. a(n) = a(n-1) + (largest nonprime {1 or composite} among the first n-2 terms of the sequence).
A120760
a(1) = a(2) = 1. a(n) = a(n-1) + (largest nonprime {1 or composite} among the first n-2 terms of the sequence).
Terms
- a(0) =1a(1) =1a(2) =2a(3) =3a(4) =4a(5) =5a(6) =9a(7) =13a(8) =22a(9) =31a(10) =53a(11) =75a(12) =97a(13) =172a(14) =247a(15) =419a(16) =666a(17) =913a(18) =1579a(19) =2492a(20) =3405a(21) =5897a(22) =9302a(23) =12707a(24) =22009a(25) =34716a(26) =56725a(27) =91441a(28) =148166a(29) =239607
External references
- oeis: A120760