|
|
A120430
|
|
Greater of prime powers that differ by 1. In other words, numbers n such that n-1 and n are prime powers.
|
|
14
|
|
|
2, 3, 4, 5, 8, 9, 17, 32, 128, 257, 8192, 65537, 131072, 524288, 2147483648, 2305843009213693952, 618970019642690137449562112, 162259276829213363391578010288128
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
|
|
PROG
|
(PARI) isokp(n) = (n==1) || isprime(n) || (ispower(n, , &k) && isprime(k));
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|