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.

A045960 Palindromic even lucky numbers.

Original entry on oeis.org

2, 4, 6, 22, 44, 212, 262, 282, 434, 474, 646, 666, 818, 838, 868, 2442, 2662, 2772, 4884, 4994, 6666, 6886, 8118, 8338, 20202, 20402, 21012, 21812, 22322, 22422, 22922, 23332, 23532, 24042, 25652, 26162, 26262, 26562, 26762, 27372, 28682, 40204, 40804
Offset: 1

Views

Author

Keywords

Crossrefs

Intersection of A002113 and A045954.

Programs

  • Mathematica
    lst = Range[2, 50000, 2];
    i = 2;
    While[i <= (len = Length@lst) && (k = lst[[i]]) <= len, lst = Drop[lst, {k, len, k}]; i++];
    Select[lst, PalindromeQ] (* Jean-François Alcover, Sep 01 2022, after Robert G. Wilson v in A045954 *)

Extensions

More terms from David W. Wilson