cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A028337 Palindromes of the form n(n+1).

Original entry on oeis.org

2, 6, 272, 6006, 289982, 2629262, 6039306, 27999972, 28233282, 2704884072, 20278187202, 20591819502, 2592587852952, 2936231326392, 21809166190812, 27237788773272, 229145919541922, 233552101255332, 250087292780052, 2243922442293422, 2570769009670752, 20333113431133302, 27785925652958772
Offset: 1

Views

Author

Keywords

Examples

			272 belongs to the sequence as 272 = 16*17 is a palindrome.
		

Crossrefs

Cf. A028336.

Programs

  • Mathematica
    Select[2*Accumulate[Range[15820000]],IntegerDigits[#] == Reverse[ IntegerDigits[#]]&] (* Harvey P. Dale, Sep 03 2013 *)
  • Python
    A028337_list, n = [], 0
    for i in range(2,10**6,2):
        n += i
        s = str(n)
        if s == s[::-1]:
            A028337_list.append(n) # Chai Wah Wu, Jan 15 2015

Extensions

a(20)-a(23) from G. C. Greubel, Nov 04 2017