login
Pairs prime(k), prime(k+1) such that last digit of prime(k) is 9 and last digit of prime(k+1) is 7.
0

%I #20 Sep 08 2022 08:45:54

%S 89,97,359,367,389,397,449,457,479,487,719,727,929,937,1069,1087,1109,

%T 1117,1259,1277,1439,1447,1559,1567,1759,1777,1979,1987,2459,2467,

%U 2609,2617,2699,2707,2879,2887,2909,2917,3209,3217,3449,3457,3719,3727

%N Pairs prime(k), prime(k+1) such that last digit of prime(k) is 9 and last digit of prime(k+1) is 7.

%o (Magma) &cat[ [p, q]: p in PrimesUpTo(4000) | P[1] eq 9 and Q[1] eq 7 where P is Intseq(p) where Q is Intseq(q) where q is NextPrime(p) ]; // _Klaus Brockhaus_, Jan 01 2011

%K nonn,base,less

%O 1,1

%A _Vincenzo Librandi_, Dec 29 2010

%E Corrected (2789, 2857 removed) by _Klaus Brockhaus_, Jan 01 2011