|
|
A072712
|
|
Primes p such that p divides the (right) concatenation of all numbers from 1 to p written in base 10 (most significant digit on left).
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Right concatenation, normal order.
|
|
LINKS
|
|
|
EXAMPLE
|
p=17 is not a term since 1234567891011121314151617 is not divisible by 17.
|
|
PROG
|
(PARI) p=""; n=1; while(n<10^4, p=concat(p, Str(n)); if(eval(p)%n==0&&isprime(n), print1(n, ", ")); n++) \\ Derek Orr, Oct 04 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,more,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|