This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A279884 a(n) = (prime(n)-1)^(prime(n)+1) + 1. 1
 2, 17, 4097, 1679617, 1000000000001, 1283918464548865, 4722366482869645213697, 12748236216396078174437377, 165251092644282265779977014214657, 25986090120790645892257018950637850957185025, 185302018885184100000000000000000000000000000001 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Prime terms are in A279883. Subsequence of {A008788(n) + 1}. Conjecture: If (n-1)^(n+1) + 1 is a prime, then n = prime. LINKS EXAMPLE For n=3; a(3) = (prime(3)-1)^(prime(3)+1) + 1 = 4^6 + 1 = 4097. MATHEMATICA Table[(# - 1)^(# + 1) + 1 &[Prime@ n], {n, 11}] (* Michael De Vlieger, Dec 23 2016 *) PROG (MAGMA) [(NthPrime(n)-1)^(NthPrime(n)+1)+1: n in[1..50]] (PARI) a(n) = (prime(n)-1)^(prime(n)+1)+1 \\ Felix FrÃ¶hlich, Dec 23 2016 CROSSREFS Cf. A000040, A279883. Sequence in context: A274053 A221207 A274015 * A060353 A002814 A122207 Adjacent sequences:  A279881 A279882 A279883 * A279885 A279886 A279887 KEYWORD nonn AUTHOR Jaroslav Krizek, Dec 23 2016 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified October 14 17:43 EDT 2019. Contains 328022 sequences. (Running on oeis4.)