login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A161469 Primes of the form 3^k + 2^k - k^3 + k^2. 1
2, 5, 17, 613, 129266611, 7625731683761, 150094704016430497, 2503155504994422192936289397051173, 4638397686588101984398752568803509060305779468709 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The associated values of k are 0, 1,3,6,17,27,36,70,102,237,377,463,576,639,683,... [R. J. Mathar, Jun 12 2009] (* Amended by Harvey P. Dale, Jan 23 2023 *)
The next term (a(10)) has 114 digits. - Harvey P. Dale, Jan 23 2023
LINKS
MATHEMATICA
lst={}; Do[If[PrimeQ[p=(3^n+2^n)-(n^3-n^2)], AppendTo[lst, p]], {n, 6!}]; lst
Select[Table[3^k+2^k-k^3+k^2, {k, 0, 200}], PrimeQ] (* Harvey P. Dale, Jan 23 2023 *)
PROG
(Magma) [ a: n in [1..450] | IsPrime(a) where a is 3^n+2^n-n^3+n^2] // Vincenzo Librandi, Nov 30 2010
CROSSREFS
Sequence in context: A348927 A081465 A128000 * A342606 A281312 A182313
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition simplified by R. J. Mathar, Jun 12 2009
a(1) = 2 prepended by Harvey P. Dale, Jan 23 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 20:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)