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.

A165479 a(n) = Least i in range [A165478(n),A165478(n+1)] for which abs(A165477(i)) gets the maximum value in that range.

Original entry on oeis.org

43690, 131070, 174761, 262141, 305832, 393212, 436903, 524283, 567974, 655354, 699045, 786425, 830116, 917496, 961187, 1048567, 1092258, 1179638, 1223329, 1310709, 1354400, 1441780, 1485471, 1572851, 1616542, 1703922
Offset: 0

Views

Author

Antti Karttunen, Sep 21 2009

Keywords

Comments

The corresponding maximum values are 570,0,570,0,570,0,570,0,570,0,570,0,570,0,570,0,570,0,... (period 2 sequence). Note that also A165477(87380) = 570 (as 131071 is 4k+3 prime), and A165477(65535) = 285 = 570/2.

Formula

a(n) = floor(n/2)*131071 + (1+2*(n modulo 2))*43690