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.

Showing 1-2 of 2 results.

A188661 Primes of the form (2^n+3)^2-8.

Original entry on oeis.org

17, 41, 113, 353, 1217, 4481, 67073, 1054721, 4206593, 16801793, 274881052673, 18014399314788353, 72057595648540673, 18446744099479355393, 4722366483281962074113, 79228162514266026443404214273
Offset: 1

Views

Author

N. J. A. Sloane, Apr 14 2011

Keywords

Comments

Primes in A188129.

Crossrefs

Programs

  • Magma
    [a: n in [0..100] | IsPrime(a) where a is (2^n+3)^2-8]; // Vincenzo Librandi, Mar 21 2013
  • Mathematica
    Select[(2^Range[0,50]+3)^2-8,PrimeQ]  (* Harvey P. Dale, Apr 16 2011 *)
    Select[Table[(2^n + 3)^2 - 8, {n, 80}], PrimeQ] (* Vincenzo Librandi, Mar 21 2013 *)

A188129 a(n) = (2^n+3)^2-8.

Original entry on oeis.org

8, 17, 41, 113, 353, 1217, 4481, 17153, 67073, 265217, 1054721, 4206593, 16801793, 67158017, 268533761, 1073938433, 4295360513, 17180655617, 68721049601, 274881052673, 1099517919233, 4398059094017, 17592211210241, 70368794509313, 281475077373953, 1125900108169217, 4503600030023681, 18014399314788353, 72057595648540673
Offset: 0

Views

Author

N. J. A. Sloane, Apr 14 2011

Keywords

Crossrefs

For primes see A188661 and A188936.

Programs

  • Mathematica
    (2^Range[0,30]+3)^2-8 (* or *) LinearRecurrence[{7,-14,8},{8,17,41},30] (* Harvey P. Dale, Nov 23 2012 *)

Formula

a(n) = 7*a(n-1)-14*a(n-2)+8*a(n-3). G.f.: -(34*x^2-39*x+8)/((x-1)*(2*x-1)*(4*x-1)). [Colin Barker, Nov 11 2012]
Showing 1-2 of 2 results.