cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A279884 a(n) = (prime(n)-1)^(prime(n)+1) + 1.

This page as a plain text file.
%I A279884 #9 Sep 08 2022 08:46:18
%S A279884 2,17,4097,1679617,1000000000001,1283918464548865,
%T A279884 4722366482869645213697,12748236216396078174437377,
%U A279884 165251092644282265779977014214657,25986090120790645892257018950637850957185025,185302018885184100000000000000000000000000000001
%N A279884 a(n) = (prime(n)-1)^(prime(n)+1) + 1.
%C A279884 Prime terms are in A279883.
%C A279884 Subsequence of {A008788(n) + 1}.
%C A279884 Conjecture: If (n-1)^(n+1) + 1 is a prime, then n = prime.
%e A279884 For n=3; a(3) = (prime(3)-1)^(prime(3)+1) + 1 = 4^6 + 1 = 4097.
%t A279884 Table[(# - 1)^(# + 1) + 1 &[Prime@ n], {n, 11}] (* _Michael De Vlieger_, Dec 23 2016 *)
%o A279884 (Magma) [(NthPrime(n)-1)^(NthPrime(n)+1)+1: n in[1..50]]
%o A279884 (PARI) a(n) = (prime(n)-1)^(prime(n)+1)+1 \\ _Felix Fröhlich_, Dec 23 2016
%Y A279884 Cf. A000040, A279883.
%K A279884 nonn
%O A279884 1,1
%A A279884 _Jaroslav Krizek_, Dec 23 2016