A292990 Numbers whose absolute difference from a triangular number is never a prime.
351, 561, 780, 990, 1176, 1596, 2016, 2145, 3321, 3741, 4278, 4371, 5565, 6216, 6786, 7503, 7626, 7875, 8256, 10296, 10440, 10731, 11781, 12561, 12880, 13041, 13695, 14196, 14535, 14706, 15576, 16836, 17391, 17955, 18915, 20100, 20503, 20910, 21321, 21528
Offset: 1
Keywords
Examples
The difference d between any triangular number T(k) = k(k+1)/2 and 351 can be factored as (k - 26) * (k + 27)/2 if k is odd, or as (k/2 - 13)*(k + 27) if k is even, so |d| cannot be prime unless |k - 26| and |k + 27|/2 are 1 and a prime, in some order, or |k/2 - 13| and |k + 27| are 1 and a prime, in some order; however, |k - 26| = 1 would require |k + 27|/2 = 26 or 27 (neither of which is prime), |k + 27|/2 = 1 would require |k - 26| = 51 or 55 (neither of which is prime), |k/2 - 13| = 1 would require |k + 27| = 51 or 55 (neither of which is prime), and |k + 27| = 1 would require |k/2 - 13| = 26 or 27 (neither of which is prime), so there is no triangular number T(k) such that |T(k) - 351| is prime; thus, 351 is in the sequence. 120 is not in the sequence because |T(13) - 120| = |91 - 120| = 29 is prime.
Comments