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.

A017911 Powers of sqrt(2) rounded to nearest integer.

Original entry on oeis.org

1, 1, 2, 3, 4, 6, 8, 11, 16, 23, 32, 45, 64, 91, 128, 181, 256, 362, 512, 724, 1024, 1448, 2048, 2896, 4096, 5793, 8192, 11585, 16384, 23170, 32768, 46341, 65536, 92682, 131072, 185364, 262144, 370728, 524288
Offset: 0

Views

Author

Keywords

Comments

Apart from offset the same as A057048. - T. D. Noe, Apr 27 2003
Indeed, write the natural numbers as triangle, [1; 2, 3; 4, 5, 6; ...], then the last number in each row is T(n) = n(n+1)/2 = A000217(n), and 2^k is located in the row n with n(n-1)/2 < 2^k <= n(n+1)/2 <=> n^2 - n < 2^(k+1) <= n^2 + n, which means that n = round(sqrt(2^(k+1))). - M. F. Hasler, Feb 20 2012
The rounded curvature of circle in square inscribing or the rounded radius of circle in square circumscribing with initial circle radius = 1 for both cases, see illustration in link. - Kival Ngaokrajang, Aug 07 2013
Even-indexed terms are powers of 2.

Examples

			sqrt(2)^3 = 2.82842712474619..., so a(3) = 3.
sqrt(2)^4 = 4, so a(4) = 4.
sqrt(2)^5 = 5.6568542494923801952..., so a(5) = 6.
sqrt(2)^6 = 8, so a(6) = 8.
sqrt(2)^7 = 11.31370849898476..., so a(7) = 11.
		

Crossrefs

Apart from offset, first differences of A001521.

Programs