login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
Hints
(Greetings from
The On-Line Encyclopedia of Integer Sequences
!)
A259535
Numbers n such that 159^n - 158^n is prime.
0
2, 3, 17, 107, 13313
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,1
COMMENTS
a(5) is only a strong pseudoprime. -
Tim Johannes Ohrtmann
, Jun 20 2016
LINKS
Table of n, a(n) for n=1..5.
MATHEMATICA
Select[Range[2000], PrimeQ[159^# - 158^#] &] (*
Vincenzo Librandi
, Jul 01 2015 *)
PROG
(Magma) [n: n in [0..1000] | IsPrime(159^n-158^n)]; //
Vincenzo Librandi
, Jul 01 2015
(PARI) is(n)=ispseudoprime(159^n-158^n) \\
Charles R Greathouse IV
, Jun 13 2017
CROSSREFS
Cf.
A254298
.
Sequence in context:
A056794
A135726
A164816
*
A328340
A042978
A089675
Adjacent sequences:
A259532
A259533
A259534
*
A259536
A259537
A259538
KEYWORD
nonn
,
more
,
hard
AUTHOR
Michael P. May
, Jun 29 2015
EXTENSIONS
a(4) from
Vincenzo Librandi
, Jul 01 2015
a(5) from
Tim Johannes Ohrtmann
, Jun 20 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
|
Recents
The OEIS Community
| Maintained by
The OEIS Foundation Inc.
License Agreements, Terms of Use, Privacy Policy.
.
Last modified March 28 15:38 EDT 2024. Contains 371254 sequences. (Running on oeis4.)