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.

Showing 1-2 of 2 results.

A034057 Decimal part of a(n)^(1/2) starts with n (squares excluded).

Original entry on oeis.org

26, 10, 5, 11, 2, 21, 7, 3, 8, 35, 199, 83, 17, 124, 51, 173, 10, 201, 67, 27, 149, 52, 126, 5, 18, 541, 127, 86, 53, 28, 69, 11, 40, 336, 54, 19, 70, 179, 29, 108, 41, 2, 71, 89, 6, 181, 12, 20, 42, 182, 1407, 381, 157, 91, 57, 43, 31, 134, 21, 92, 13, 58
Offset: 0

Views

Author

Patrick De Geest, Sep 15 1998

Keywords

Examples

			a(0)=26 -> 26^(1/2)=5.{0}990195...
a(1)=10 -> 10^(1/2)=3.{1}622776...
		

Crossrefs

Programs

  • Python
    from math import sqrt
    def a(n):
      k, s, pow10 = 3, sqrt(2), 10**len(str(n))
      while int(pow10*(s-int(s))) != n: k, s = k+1, sqrt(k)
      return k-1
    print([a(n) for n in range(1, 67)]) # Michael S. Branicky, Mar 15 2021

Extensions

Title corrected by Sean A. Irvine, Aug 02 2020

A034077 Decimal part of n-th root of a(n) starts with digit 0.

Original entry on oeis.org

26, 9, 17, 33, 65, 129, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
Offset: 2

Views

Author

Patrick De Geest, Sep 15 1998

Keywords

Examples

			a(2)=26 -> 26^(1/2)=5.{0}990195...
		

Crossrefs

Showing 1-2 of 2 results.