[go: up one dir, main page]

login
A363998
Primes of the form |2^i - 3^j|, for i >= 0, j >= 0.
4
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 47, 61, 73, 79, 101, 127, 139, 179, 211, 227, 229, 239, 241, 269, 431, 503, 509, 601, 727, 997, 1021, 1163, 1319, 1931, 2039, 2179, 3299, 3853, 4093, 4513, 6529, 6553, 7949, 8111, 8191, 11491, 14197, 16141, 16381
OFFSET
1,1
EXAMPLE
As in A014121, numbers of the form |2^i - 3^j|, for i >=0, j>=0 are 0,1,2,3,5,7,8,11,..., in which the primes are 2,3,5,7,11,... .
MATHEMATICA
z = 500;
t = Table[Abs[2^i - 3^j], {i, 0, z}, {j, 0, z}];
v = Union[Sort[Flatten[t]]]; (* A014121*)
Intersection[v, Prime[Range[200000]]] (* A363998 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jul 30 2023
STATUS
approved