|
|
A104275
|
|
Numbers k such that 2k-1 is not prime.
|
|
13
|
|
|
1, 5, 8, 11, 13, 14, 17, 18, 20, 23, 25, 26, 28, 29, 32, 33, 35, 38, 39, 41, 43, 44, 46, 47, 48, 50, 53, 56, 58, 59, 60, 61, 62, 63, 65, 67, 68, 71, 72, 73, 74, 77, 78, 80, 81, 83, 85, 86, 88, 89, 92, 93, 94, 95, 98, 101, 102, 103, 104, 105, 107, 108, 109, 110, 111, 113
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Same as A053726 except for the first term of this sequence.
Union of 1 and terms of the form (u+1)*(v+1) + u*v with 1 <= u <= v. - Ralf Steiner, Nov 17 2021
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(1) = 1 because 2*1-1=1, not prime.
a(2) = 5 because 2*5-1=9, not prime (2, 3 and 4 give 3, 5 and 7 which are primes).
As a triangular array (apart from term 1):
5;
8, 13;
11, 18, 25;
14, 23, 32, 41;
17, 28, 39, 50, 61;
20, 33, 46, 59, 72, 85;
23, 38, 53, 68, 83, 98, 113;
26, 43, 60, 77, 94, 111, 128, 145;
29, 48, 67, 86, 105, 124, 143, 162, 181;
32, 53, 74, 95, 116, 137, 158, 179, 200, 221; etc.
which is obtained by (2*h*k + k + h + 1) with h >= k >= 1. (End)
The above array, which contains the same terms as A053726 but in different order and with some duplicates, has its own entry A144650. - Antti Karttunen, Apr 17 2015
|
|
MAPLE
|
remove(t -> isprime(2*t-1), [$1..1000]); # Robert Israel, Apr 17 2015
|
|
MATHEMATICA
|
|
|
PROG
|
(Python)
from sympy import isprime
def ok(n): return not isprime(2*n-1)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|