|
|
A104323
|
|
Primes which are the reverse concatenation of four consecutive numbers.
|
|
1
|
|
|
10987, 22212019, 86858483, 94939291, 100999897, 106105104103, 112111110109, 122121120119, 124123122121, 146145144143, 184183182181, 226225224223, 232231230229, 244243242241, 274273272271, 332331330329, 362361360359
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
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.
|
|
MATHEMATICA
|
Select[Table[FromDigits[Flatten[IntegerDigits/@Range[n, n-3, -1]]], {n, 4, 400}], PrimeQ] (* Harvey P. Dale, Aug 02 2021 *)
|
|
PROG
|
(PARI) forstep(n=10, 400, 2, isprime(t=eval(Str(n, n-1, n-2, n-3)))&print1(t", ")) \\ Zak Seidov, May 08 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|