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.

A285936 Number of rotations of the digits in n produced by n * x/y where x != y.

Original entry on oeis.org

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

Views

Author

Doug Bell, Jun 14 2017

Keywords

Comments

Rotations with a leading digit of zero are omitted.
If d is the number of nonzero digits in n, a(n) < d.

Examples

			a(13) = 0 because there is no fraction x/y such that 13 * x/y = 31, the only rotation of 13;
a(15) = 1 because 15 * 17/5 = 51, the only rotation 51;
a(114) = 2 because 114 * 47/38 = 141 and 114 * 137/38 = 411, both the rotations of 114.