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.

A112958 a(1) = a(2) = a(3) = a(4) = 1; for n>1: a(n+4) = a(n)^2 + a(n+1)^2 + a(n+2)^2 + a(n+3)^2.

Original entry on oeis.org

1, 1, 1, 1, 4, 19, 379, 144019, 20741616379, 430214650034342688004, 185084645104171955001009752069374428191659
Offset: 1

Views

Author

Jonathan Vos Post, Jan 02 2006

Keywords

Comments

A quadratic tetranacci sequence.
This is to A000283 as a tetranacci (A000288) is to Fibonacci. Primes in this begin 19, 379.

Examples

			1^2 + 4^2 + 19^2 + 379^2 = 144019.
		

Crossrefs

Programs

  • Mathematica
    RecurrenceTable[{a[1] == a[2] == a[3] == a[4] == 1, a[n] == a[n-1]^2 + a[n-2]^2 + a[n-3]^2 + a[n-4]^2}, a, {n, 15}] (* Vincenzo Librandi, Aug 21 2016 *)