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.

A201123 Differences between odd powers of 7 and the next smaller square.

Original entry on oeis.org

3, 19, 166, 894, 5703, 12654, 620046, 4235622, 24518766, 133763479, 575536407, 7275224659, 63521178243, 36407018199, 1783943891751, 12048048160062, 62797942092807, 615169213046419, 4293026969512678, 29406470217788179, 174254081653289398, 2627356192258967382
Offset: 1

Views

Author

Hugo Pfoertner, Nov 27 2011

Keywords

Examples

			a(1) = 7^1 - 2^2 = 3;
a(2) = 7^3 - 18^2 = 343 - 324 = 19;
a(3) = 7^5 - 129^2 = 16807 - 16641 = 166.
		

Crossrefs

Cf. A051218.

Programs

  • Mathematica
    Table[7^(2 n - 1) - Floor[Sqrt[7^(2 n - 1)]]^2, {n, 30}] (* Wesley Ivan Hurt, Mar 06 2014 *)

Formula

a(n) = 7^(2*n-1) - floor(sqrt(7^(2*n-1)))^2.