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.

A161470 Primes of the form 3^k+2^k+k^3-k^2.

This page as a plain text file.
%I A161470 #20 Sep 08 2022 08:45:45
%S A161470 5,17,53,2609,1604543,7625731721669,
%T A161470 67585198634826967968486182915129003
%N A161470 Primes of the form 3^k+2^k+k^3-k^2.
%C A161470 The associated k are 1, 2, 3, 7, 13, 27, 73, 994, 1129, ... - _R. J. Mathar_, Jun 12 2009
%C A161470 The next term has 475 digits. - _Harvey P. Dale_, Dec 12 2010
%t A161470 A161470 = {}; Do[If[PrimeQ[p = (3^n + 2^n) + (n^3 - n^2)], AppendTo[A161470, p]], {n, 6!}]; A161470 (* Orlovsky *)
%t A161470 (* Alternate: *) Select[Table[3^k + 2^k + k^3 - k^2, {k, 2000}], PrimeQ] (* _Harvey P. Dale_, Dec 12 2010 *)
%o A161470 (Magma) [ a: n in [1..450] | IsPrime(a) where a is 3^n+2^n+n^3-n^2] // _Vincenzo Librandi_, Nov 30 2010
%Y A161470 Cf. A058765, A082101, A161469.
%K A161470 nonn
%O A161470 1,1
%A A161470 _Vladimir Joseph Stephan Orlovsky_, Jun 10 2009
%E A161470 Definition simplified by _R. J. Mathar_, Jun 12 2009