OFFSET
1,3
COMMENTS
Is a(n) <= A279709(n)?
LINKS
Ray Ballinger and Wilfrid Keller, List of primes k.2^n + 1 for k < 300.
EXAMPLE
PROG
(PARI) vk(k, nn) = if (k==1, return (vector(nn, i, 2^(i-1)))); my(v = vector(nn-k+1), nb=0, i=0, x); while (nb != nn-k+1, if (isprime((2*k-1)*2^i+1), nb++; v[nb] = i); i++; ); v;
lista(nn) = my(v=vector(nn, k, vk(k, nn))); my(w=List()); for (i=1, nn, for (j=1, i, listput(w, v[i-j+1][j]); ); ); Vec(w); \\ Michel Marcus, Mar 03 2023
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Lorenzo Sauras Altuzarra, Mar 01 2023
STATUS
approved