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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A239429 Numbers n such that n^6+6 and n^6-6 are prime. 1
 175, 12635, 18445, 30275, 32585, 38885, 41125, 46235, 53165, 71785, 74935, 92645, 108115, 117775, 121625, 146125, 151655, 173635, 184765, 191765, 196175, 204505, 208705, 229775, 237965, 241255, 243635, 246365, 283115, 335755, 344365, 345485, 352625, 353395, 354445 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS All numbers are congruent to 35 mod 70. Intersection of A109836 and A239414. LINKS Harvey P. Dale, Table of n, a(n) for n = 1..1000 EXAMPLE 175^6+6 = 28722900390631 is prime and 175^6-6 = 28722900390619 is prime. Thus, 175 is a member of this sequence. MATHEMATICA Select[Range[35, 360000, 70], AllTrue[#^6+{6, -6}, PrimeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 22 2020 *) PROG (Python) import sympy from sympy import isprime def TwoBoth(x): ..for k in range(10**6): ....if isprime(k**x+x) and isprime(k**x-x): ......print(k) TwoBoth(6) CROSSREFS Cf. A109836, A239414. Sequence in context: A222774 A209710 A056935 * A268872 A104651 A212946 Adjacent sequences: A239426 A239427 A239428 * A239430 A239431 A239432 KEYWORD nonn AUTHOR Derek Orr, Mar 20 2014 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.

Last modified April 22 18:29 EDT 2024. Contains 371906 sequences. (Running on oeis4.)