|
|
A236547
|
|
n such that (2^(2n + 1) - 2)/3 + n - 1 is prime.
|
|
3
|
|
|
2, 4, 10, 14, 28, 54, 62, 124, 592, 1088, 3154, 3920, 5564
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
These primes are represented in the numeral system described in A235860 with the digit "2" followed to the right with n-1 "12" strings.
|
|
LINKS
|
|
|
EXAMPLE
|
For n = 2, (2^5 - 2)/3 + 1 = 11, which is prime, so 2 is in the sequence.
|
|
PROG
|
(PARI) isok(n) = isprime((2^(2*n+1) -2)/3 + n-1); \\ Michel Marcus, Jan 28 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|