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-3 of 3 results.

A038099 Numbers k such that k > first location of string of k in decimal expansion of Pi.

Original entry on oeis.org

4, 5, 9, 14, 15, 23, 26, 32, 33, 35, 38, 41, 43, 46, 50, 51, 53, 58, 59, 62, 64, 65, 69, 71, 74, 75, 78, 79, 81, 82, 83, 84, 86, 88, 89, 92, 93, 94, 95, 97, 98, 99, 105, 117, 132, 141, 148, 159, 164, 169, 170, 172, 174, 193, 197, 208, 209, 211, 214, 223, 229
Offset: 1

Views

Author

Patrick De Geest, Feb 15 1999

Keywords

Comments

'Location' starts from the first digit after the decimal point and refers to the first digit of a(n).

Crossrefs

Programs

  • Python
    from sympy import pi
    from itertools import count, islice
    digits_of_pi = str(pi.n(10**5))[1:-1]
    def agen():
        for k in count(1):
            kloc = digits_of_pi.find(str(k))
            assert kloc > 0, ("Increase precision", k)
            if k > kloc: yield k
    print(list(islice(agen(), 61))) # Michael S. Branicky, Jul 10 2022

Formula

a(n) > A014777(n). - Michael S. Branicky, Jul 10 2022

Extensions

Offset changed to 1 by Jinyuan Wang, Sep 04 2021

A280532 a(1) = a(2) = 1, a(n) = A014777(a(n-1) + a(n-2)), n >= 3.

Original entry on oeis.org

1, 1, 6, 13, 37, 31, 605, 1411, 7174, 15567, 608953, 78903, 334535, 611552, 105928, 2557047, 2979162, 3263358, 6242520, 7825254, 37404834, 267494881, 639174488
Offset: 1

Views

Author

Anders Hellström, Jan 13 2017

Keywords

Crossrefs

Programs

  • Mathematica
    Module[{a = {1, 1}, s = First@ RealDigits[N[Pi, 10^7]]}, Do[AppendTo[a, -1 + SequencePosition[s, IntegerDigits[ a[[n - 1]] + a[[n - 2]] ]][[1, 1]]], {n, 3, 20}]; a] (* Michael De Vlieger, Jan 14 2017 *)

A038101 First location of palindrome a(n) in decimal expansion of Pi is palindromic.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 8, 9, 99, 141, 151, 313, 343, 505, 535, 585, 767, 959, 1771, 6446, 9669, 15751, 32823, 39193, 48184, 59995, 65456, 73137, 85858, 323323, 944449, 1081801, 1155511, 1299921, 1491941, 5514155, 5870785, 7639367, 7913197, 7940497, 8156518, 8257528
Offset: 1

Views

Author

Patrick De Geest, Feb 15 1999

Keywords

Comments

'Location' starts from the first digit after the decimal point and refers to the first digit of the palindrome.

Crossrefs

Extensions

Offset changed to 1 by and more terms from Jinyuan Wang, Sep 04 2021
Showing 1-3 of 3 results.