A319037 a(n) is the length of the longest run of consecutive triangular numbers with n divisors.
1, 1, 0, 4, 0, 2, 0, 3, 1, 1, 0, 3, 0, 1, 1, 6, 0, 2, 0, 3, 0, 1, 0, 7, 0, 1, 1, 3, 0, 2, 0, 13, 0, 1, 0, 6, 0, 1, 0, 6, 0, 2, 0, 3, 1, 1, 0
Offset: 1
Examples
a(1) = 1 because there is only one triangular number T(k) = k*(k+1)/2 with 1 divisor: T(1) = 1. a(2) = 1 because there is only one triangular number with 2 divisors: T(2) = 3, the only prime triangular number. a(3) = 0 because there is no triangular number with 3 divisors. a(4) = 4 because {6, 10, 15, 21} is the longest run of consecutive triangular numbers with 4 divisors. a(16) = 6 because T(692993)..T(692998) is a run of 6 consecutive triangular numbers with 16 divisors, and no longer run of such triangular numbers exists. a(24) = 7 because T(1081135121474335700644)..T(1081135121474335700650) is a run of 7 consecutive triangular numbers with 24 divisors, and no longer run of such triangular numbers exists. - _Jinyuan Wang_, Aug 23 2020 T(1081135121474335700644) is the smallest triangular number that begins a run of 7 consecutive triangular numbers with 24 divisors. - _Jon E. Schoenfield_, May 29 2022
Extensions
a(21)-a(24) from Jinyuan Wang, Aug 23 2020
a(25)-a(47) from Jon E. Schoenfield, Feb 04 2021
Comments