login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
Hints
(Greetings from
The On-Line Encyclopedia of Integer Sequences
!)
A191717
Numbers n such that n*(n-1)^n-(n-1)*n^(n-1)+1 is prime.
1
3, 5, 18, 23, 78, 131, 177
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,1
LINKS
Table of n, a(n) for n=1..7.
EXAMPLE
a(1)=3 because 3*2^3-2*3^2+1=7 is prime, a(2)=5 because 5*4^5-4*5^4+1=2621 is prime.
PROG
(PARI) is(n)=ispseudoprime(n*(n-1)^n-(n-1)*n^(n-1)+1) \\
Charles R Greathouse IV
, Jun 13 2017
CROSSREFS
Cf.
A191699
,
A191715
.
Sequence in context:
A249759
A358342
A039584
*
A136131
A143546
A069066
Adjacent sequences:
A191714
A191715
A191716
*
A191718
A191719
A191720
KEYWORD
nonn
,
hard
AUTHOR
Juri-Stepan Gerasimov
, Jun 12 2011
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.
License Agreements, Terms of Use, Privacy Policy.
.
Last modified April 23 05:37 EDT 2024. Contains 371906 sequences. (Running on oeis4.)