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.

A355549 Number of positive integers k with 1 < k < n such that n occurs in the Reverse-and-Multiply trajectory of k.

Original entry on oeis.org

0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0
Offset: 0

Views

Author

Felix Fröhlich, Jul 06 2022

Keywords

Crossrefs

Cf. A355550.

Programs

  • PARI
    revmult(n) = n*eval(concat(Vecrev(Str(n))))
    a(n) = my(i=0); for(k=2, n-1, my(x=k); while(x < n, if(x==revmult(x), break, x=revmult(x))); if(x==n, i++)); i