OFFSET
1,1
EXAMPLE
29 is prime and f(29^6+29^5+29^4+29^3+29^2+29+1) = 54672347801779330810964871392077416495507203132755717 is prime. Thus, 29 is a member of this sequence.
PROG
(Python)
import sympy
from sympy import isprime
{print(n) for n in range(10**6) if isprime(n) and isprime((n**6+n**5+n**4+n**3+n**2+n+1)**6+(n**6+n**5+n**4+n**3+n**2+n+1)**5+(n**6+n**5+n**4+n**3+n**2+n+1)**4+(n**6+n**5+n**4+n**3+n**2+n+1)**3+(n**6+n**5+n**4+n**3+n**2+n+1)**2+(n**6+n**5+n**4+n**3+n**2+n+1)+1)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Derek Orr, Feb 08 2014
STATUS
approved