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.

A257582 Lexicographically largest increasing sequence of primes for which the continued square root map (see A257574) produces Pi.

Original entry on oeis.org

5, 17, 37, 53, 131, 181, 263, 317, 859, 887, 1637, 2837, 3413, 5861, 6491, 10531, 13399, 14083, 14563, 21433, 29717, 30529, 31663, 31771, 32069, 32587, 36559, 36809, 39359, 39461, 45319, 46933, 49801, 52391, 52579, 52889, 55871, 57493, 59107, 59539, 64187, 64633, 75377, 77491, 82351, 86587
Offset: 1

Views

Author

N. J. A. Sloane, May 03 2015

Keywords

Comments

The continued square root map applied to a sequence (x,y,z,...) is CSR(x,y,z,...) = sqrt(x + sqrt(y + sqrt(z + ...))); this is well defined if the logarithm of the terms is O(2^n).

Crossrefs

Cf. A000796 (Pi), A257764 (analog for e = 2.71828... instead of Pi), A257809 (analog for delta = 4.6692...), A257574.

Programs

  • PARI
    (CSR(v, s)=forstep(i=#v, 1, -1, s=sqrt(v[i]+s)); s); a=[5]; for(n=1, 50, print1(a[#a]", "); for(i=primepi(a[#a])+1, oo, CSR(concat(a, vector(9, j, prime(i+j))))>=Pi && (a=concat(a, prime(i))) && break)) \\ The default precision of 38 digits yields correct terms only below 30000. To compute larger values correctly, realprecision must be increased. - M. F. Hasler, May 03 2018

Extensions

a(15)-a(46) from Chai Wah Wu, May 06 2015
Edited by M. F. Hasler, May 03 2018