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.

A081505 Primes of form 4^n+3^n.

Original entry on oeis.org

2, 7, 337, 4338014017
Offset: 1

Views

Author

Labos Elemer, Apr 15 2003

Keywords

Examples

			m=4: 4^4+3^4=256+81=337 prime.
Exponents for first 4 terms are {0,1,4,16}.
		

Programs

  • Mathematica
    Do[s=3^w+4^w; If[IntegerQ[w/100], Print[{w}]]; If[PrimeQ[s], Print[{w, s}]], {w, 0, 3400}]
    Do[ If[ PrimeQ[3^n+4^n], Print[3^n+4^n]], {n, 0, 10000}]
    Select[Table[4^n+3^n,{n,0,20}],PrimeQ] (* Harvey P. Dale, Mar 07 2017 *)

Extensions

a(5)>10^10000, so the next term (if it exists) is too large to include.