login
A279084
Numbers k such that reverse(T(k)) = T(reverse(k)) where T(k) is the k-th triangular number.
0
0, 1, 2, 3, 11, 77, 363, 1111, 2662, 24662, 26642, 111111, 246642, 11111111, 363474363, 2664444662
OFFSET
1,3
COMMENTS
The k-th triangular number is T(k) = k*(k+1)/2 = A000217(k).
This sequence includes all numbers k such that both k and T(k) are palindromes (A008510); it also includes at least one pair of nonpalindromes (see Example section). It includes 11, 1111, 111111, and 11111111, but not 1111111111.
If it exists, a(17) > 10^12. - Lars Blomberg, Jan 23 2017
EXAMPLE
Since reverse(T(11)) = reverse(66) = 66 = T(11) = T(reverse(11)), 11 is in the sequence.
Since reverse(T(24662)) = reverse(304119453) = 354911403 = T(26642) = T(reverse(24662)), 24662 is in the sequence (and so is its reverse, 26642).
PROG
(PARI) rev(n) = eval(concat(Vecrev(Str(n))));
trg(n) = n*(n+1)/2;
isok(n) = rev(trg(n)) == trg(rev(n)); \\ Michel Marcus, Jan 14 2017
CROSSREFS
Sequence in context: A155187 A338613 A109132 * A008510 A290512 A042165
KEYWORD
nonn,base,more
AUTHOR
Jon E. Schoenfield, Jan 14 2017
EXTENSIONS
a(16) from Lars Blomberg, Jan 23 2017
STATUS
approved