[go: up one dir, main page]

login
Revision History for A193813 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Least k such that n^n + k + 1 is a prime.
(history; published version)
#10 by Bruno Berselli at Tue Aug 20 09:24:56 EDT 2019
STATUS

proposed

approved

#9 by Michel Marcus at Tue Aug 20 08:22:11 EDT 2019
STATUS

editing

proposed

Discussion
Tue Aug 20
08:42
Amiram Eldar: Yes.
#8 by Michel Marcus at Tue Aug 20 08:19:53 EDT 2019
FORMULA

a(n) = A098682(n) - n^n -1. - Michel Marcus, Aug 20 2019

PROG

(PARI) a(n) = nextprime(n^n) - n^n - 1; \\ Michel Marcus, Aug 20 2019

CROSSREFS
STATUS

proposed

editing

Discussion
Tue Aug 20
08:22
Michel Marcus: right ?
#7 by Amiram Eldar at Tue Aug 20 07:28:36 EDT 2019
STATUS

editing

proposed

#6 by Amiram Eldar at Tue Aug 20 06:48:01 EDT 2019
LINKS

Amiram Eldar, <a href="/A193813/b193813.txt">Table of n, a(n) for n = 1..500</a>

STATUS

approved

editing

#5 by Russ Cox at Fri Mar 30 18:35:58 EDT 2012
AUTHOR

_Michel Lagneau (mn.lagneau2(AT)orange.fr), _, Aug 06 2011

Discussion
Fri Mar 30
18:35
OEIS Server: https://oeis.org/edit/global/205
#4 by T. D. Noe at Sat Aug 06 14:05:22 EDT 2011
STATUS

proposed

approved

#3 by Michel Lagneau at Sat Aug 06 05:04:45 EDT 2011
STATUS

editing

proposed

#2 by Michel Lagneau at Sat Aug 06 05:04:15 EDT 2011
NAME

allocated for Michel LagneauLeast k such that n^n + k + 1 is a prime.

DATA

0, 0, 1, 0, 11, 6, 3, 42, 9, 18, 61, 34, 15, 26, 27, 12, 73, 106, 17, 90, 31, 86, 13, 94, 95, 42, 67, 134, 119, 18, 57, 6, 57, 62, 53, 30, 41, 114, 9, 156, 109, 12, 3, 402, 121, 456, 533, 36, 17, 30, 225, 252, 19, 192, 101, 176, 391, 44, 193, 256, 101, 78, 453

OFFSET

1,5

EXAMPLE

a(5) = 11 because 5^5 + 11 + 1 = 37 is prime.

MATHEMATICA

a={}; Do[k = 0; While[ !PrimeQ[n^n + k + 1], k++ ]; AppendTo[a, k], {n, 1, 100} ]; a

KEYWORD

allocated

nonn

AUTHOR

Michel Lagneau (mn.lagneau2(AT)orange.fr), Aug 06 2011

STATUS

approved

editing

#1 by Michel Lagneau at Sat Aug 06 05:04:15 EDT 2011
NAME

allocated for Michel Lagneau

KEYWORD

allocated

STATUS

approved