OFFSET
1,1
COMMENTS
Computed with PARI using commands similar to those used to compute A226921.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..268
Eric L. F. Roettger, A cubic extension of the Lucas functions, Thesis, Dept. of Mathematics and Statistics, Univ. of Calgary, 2009. See page 195.
PROG
(PARI)
L(n, k)={(n^2+n+1)*2^(2*k) + (2*n+1)*2^k + 1};
N(n, k)={(n^2+n+1)*2^k + n}
ok(n)={isprime(L(n, 16))&&isprime(N(n, 16))}
seq(n)={my(list=List()); my(k=1); while(#list<n, if(ok(k), listput(list, k)); k=-k+(k<0)); Vec(list)}
seq(60) \\ Andrew Howroyd, Feb 23 2018
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Vincenzo Librandi, Jul 14 2013
EXTENSIONS
a(250) in b-file corrected by Andrew Howroyd, Feb 23 2018
STATUS
approved