A104323 Primes which are the reverse concatenation of four consecutive numbers.
10987, 22212019, 86858483, 94939291, 100999897, 106105104103, 112111110109, 122121120119, 124123122121, 146145144143, 184183182181, 226225224223, 232231230229, 244243242241, 274273272271, 332331330329, 362361360359
Offset: 1
Examples
The first term is 10987 which is a prime and is the reverse concatenation of 7,8,9 and 10 which are four consecutive numbers.
Links
- Zak Seidov, Table of n, a(n) for n = 1..328
Crossrefs
Cf. A052089.
Programs
-
Mathematica
Select[Table[FromDigits[Flatten[IntegerDigits/@Range[n,n-3,-1]]],{n,4,400}],PrimeQ] (* Harvey P. Dale, Aug 02 2021 *)
-
PARI
forstep(n=10,400,2,isprime(t=eval(Str(n,n-1,n-2,n-3)))&print1(t",")) \\ Zak Seidov, May 08 2013