A347225 Lesser of twin primes (A001359) being both half-period primes (A097443).
197, 599, 881, 1277, 1997, 2081, 2237, 2801, 2999, 3359, 4721, 5279, 5879, 6197, 6959, 7877, 8837, 9239, 9719, 12161, 12239, 13721, 17921, 17957, 18521, 21839, 22637, 24917, 28277, 30557, 31319, 31721, 32117, 32441, 32717, 34757, 35081, 35279, 35837, 38921, 39239, 39839
Offset: 1
Examples
The decimal expansion 1/p for the prime p = 1277 has a periodic part length equal to (p-1)/2. 1277 is thus a half-period prime. The same applies for p + 2 = 1279 (prime). Hence 1277 is in sequence.
Programs
-
Maple
select(t -> isprime(t) and isprime(t + 2) and numtheory:-order(10, t) = (t - 1)/2 and numtheory:-order(10, t + 2) = (t + 1)/2, [seq(t, t = 3 .. 40000, 2)]);
Formula
a(n) is congruent to {11, 17, 29} mod 30.
Comments