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!)
A226928 Values of n such that L(8) and N(8) are both prime, where L(k) = (n^2+n+1)*2^(2*k) + (2*n+1)*2^k + 1, N(k) = (n^2+n+1)*2^k + n. 1
-179, -209, -263, -395, 547, 841, -1373, -1535, 2101, 2143, 2161, 2245, -2285, 2761, 2911, -2927, -3125, 3175, -3539, -3593, 3625, -3779, 3805, -4175, 4255, -4469, -4493, 4495, 4507, 4567, 4603, -4937, -5009, -5333, 5737, 6037, -6215, -6479, -6575, 6763, -6803, 6847, -6947, -7925, 8077, -8129, -8285, -8543, 8797 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Computed with PARI using commands similar to those used to compute A226921.
LINKS
Vincenzo Librandi and Joerg Arndt, Table of n, a(n) for n = 1..1000
Eric L. F. Roettger, A cubic extension of the Lucas functions, Thesis, Dept. of Mathematics and Statistics, Univ. of Calgary, 2009. See page 195.
MATHEMATICA
k = 8; (* adjust for related sequences *) fL[n_] := (n^2 + n + 1)*2^(2*k) + (2*n + 1)*2^k + 1; fN[n_] := (n^2 + n + 1)*2^k + n; nn = 9000; A = {}; For[n = -nn, n <= nn, n++, If[PrimeQ[fL[n]] && PrimeQ[fN[n]], AppendTo[A, n]]]; cmpfunc[x_, y_] := If[x == y, Return[True], ax = Abs[x]; ay = Abs[y]; If[ax == ay, Return[x < y], Return[ ax < ay]]]; Sort[A, cmpfunc] (* Jean-François Alcover, Jul 17 2013, translated and adapted from Joerg Arndt's Pari program in A226921 *)
CROSSREFS
Sequence in context: A140026 A108384 A217550 * A162164 A238893 A230809
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Jul 12 2013
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 July 16 04:20 EDT 2024. Contains 374343 sequences. (Running on oeis4.)