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.

A331492 Numbers k such that the digits of k^(1/5) begin with k.

Original entry on oeis.org

0, 1, 17, 315, 316, 5623, 99999, 100000, 1778279, 31622776, 562341324, 562341325, 9999999999, 10000000000, 177827941003, 3162277660168, 56234132519034, 999999999999999, 1000000000000000, 17782794100389227, 17782794100389228, 316227766016837932, 316227766016837933
Offset: 1

Views

Author

Chai Wah Wu, Jan 18 2020

Keywords

Comments

The following algorithm will generate all numbers k such that the digits of k^(1/b) begins with k: For each integer m >= 0, compute r = floor(10^(b*m/(b-1))). Let s <= r be the largest integer >= 0 such that (r-s)*10^(b*m) < (r-s+1)^b. Then r, r-1, ... r-s are such numbers k and there are no other such numbers.

Examples

			5623^(1/5) = 5.6233305990931... which starts with the digits 5623, so 5623 is in the sequence.
		

Crossrefs