The n-th term is the smallest integer > 1 that is congruent to +1 or -1 modulo k for all 2 <= k <= n.
A317650
The n-th term is the smallest integer > 1 that is congruent to +1 or -1 modulo k for all 2 <= k <= n.
Terms
- a(0) =3a(1) =5a(2) =5a(3) =11a(4) =11a(5) =29a(6) =41a(7) =71a(8) =71a(9) =881a(10) =1079a(11) =10009a(12) =10009a(13) =32759a(14) =82081a(15) =636481a(16) =636481a(17) =2162161a(18) =2162161a(19) =2162161a(20) =2162161a(21) =39412801a(22) =39412801a(23) =39412801a(24) =39412801a(25) =1074427199a(26) =1074427199a(27) =15362146799a(28) =15362146799a(29) =109271408401
External references
- oeis: A317650