A274984 Outdated duplicate of A272005.
4, 5, 7, 2, 9, 5, 9, 6
Offset: 2
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.
sqrt(2) = 1.41421356237309504... = 1 + 1/(2 + 1/(2 + 1/(2 + 1/(2 + ...)))). - _Harry J. Smith_, Apr 21 2009 G.f. = 1 + 2*x + 2*x^2 + 2*x^3 + 2*x^4 + 2*x^5 + 2*x^6 + 2*x^7 + 2*x^8 + ... 11/90 = 0.1222222222222222222... - _Natan Arie Consigli_, Sep 11 2016
a040000 0 = 1; a040000 n = 2 a040000_list = 1 : repeat 2 -- Reinhard Zumkeller, May 07 2012
Digits := 100: convert(evalf(sqrt(2)),confrac,90,'cvgts'):
ContinuedFraction[Sqrt[2],300] (* Vladimir Joseph Stephan Orlovsky, Mar 04 2011 *) a[ n_] := 2 - Boole[n == 0]; (* Michael Somos, Dec 28 2014 *) PadRight[{1},120,2] (* or *) RealDigits[11/90, 10, 120][[1]] (* Harvey P. Dale, Jul 12 2025 *)
{a(n) = 2-!n}; /* Michael Somos, Apr 16 2007 */
a(n)=1+sign(n) \\ Jaume Oliver Lafont, Mar 26 2009
allocatemem(932245000); default(realprecision, 21000); x=contfrac(sqrt(2)); for (n=0, 20000, write("b040000.txt", n, " ", x[n+1])); \\ Harry J. Smith, Apr 21 2009
Cp(1) = 20.7861565453831 J mol^-1 K^-1.
37.41508178168958 J mol^-1 K^-1.
Comments