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.

A087190 Numbers n such that n^4-(n+1)^3 is prime.

This page as a plain text file.
%I A087190 #9 Sep 08 2022 08:45:11
%S A087190 3,4,5,6,7,10,12,16,17,19,25,26,28,39,55,56,58,62,67,72,75,87,91,95,
%T A087190 96,97,102,111,114,115,116,124,126,128,132,137,152,160,161,172,181,
%U A087190 182,184,191,198,201,205,208,209,213,214,217,220,223,227,235,237,247,248,250
%N A087190 Numbers n such that n^4-(n+1)^3 is prime.
%H A087190 Vincenzo Librandi, <a href="/A087190/b087190.txt">Table of n, a(n) for n = 1..5000</a>
%e A087190 a(1)=3 because 3^4-(3+1)^3=81-64=17 is prime.
%t A087190 lst={};Do[If[PrimeQ[n^4-(n+1)^3],AppendTo[lst,n]],{n,3,1000}];lst (* _Vincenzo Librandi_, Jul 16 2012 *)
%o A087190 (Magma) [n: n in [3..300]| IsPrime(n^4-(n+1)^3)]; // _Vincenzo Librandi_, Jul 16 2012
%o A087190 (PARI) is(n)=isprime(n^4-(n+1)^3) \\ _Charles R Greathouse IV_, Jun 05 2017
%Y A087190 Cf. A087191 primes of the form n^4-(n+1)^3.
%K A087190 nonn,easy
%O A087190 1,1
%A A087190 _Hugo Pfoertner_, Aug 23 2003