a(0) = 1, a(n) = k*a(n-1) + 1 is a multiple of n-th prime. If no such number exists then a(n) = 0 and a(n+1) = k*a(n-1) + 1 is a multiple of (n+1)-th prime; i.e., a(r) = smallest multiple of the r-th prime = k* a(s) + 1 where a(s) is the last nonzero term.
A069565
a(0) = 1, a(n) = k*a(n-1) + 1 is a multiple of n-th prime. If no such number exists then a(n) = 0 and a(n+1) = k*a(n-1) + 1 is a multiple of (n+1)-th prime; i.e., a(r) = smallest multiple of the r-th prime = k* a(s) + 1 where a(s) is the last nonzero term.
Terms
- a(0) =1a(1) =2a(2) =3a(3) =10a(4) =21a(5) =22a(6) =221a(7) =0a(8) =2432a(9) =9729a(10) =19459a(11) =136214a(12) =1770783a(13) =10624699a(14) =446237359a(15) =8478509822a(16) =195005725907
External references
- oeis: A069565