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.

A076940 Define a mapping for a reduced rational number p/q by f(p/q) = 1 followed by p zeros followed by a 1 followed by q zeros.

Original entry on oeis.org

1010, 10100, 101000, 1001000, 10100000, 100100000, 1000100000, 1010000000, 10010000000, 100010000000, 10000010000000, 10100000000, 1010000, 1000100000000, 100000100000000, 10000000100000000
Offset: 1

Views

Author

Amarnath Murthy, Oct 19 2002

Keywords

Comments

(p,q) = 1, p = A066657(n) and q = A066658(n).
This gives another proof that rational numbers are countable.

Crossrefs

Formula

a(n) = 10^(p+q+1)+ 10^q where p = A066657(n) and q = A066658(n)