|
Search: id:A077187
|
|
|
| A077187 |
|
Smallest k such that the concatenation 123...(k-1) k (k-1)...321 ( a concatenation of natural numbers from 1 to k and back to 1) is a multiple of prime(n), or 0 if no such number exists. |
|
+0 3
|
| |
|
|
OFFSET
|
1,2
|
|
|
EXAMPLE
|
a(5) = 2 as 121 is a multiple of 11.
|
|
CROSSREFS
|
Cf. A077180, A077181, A077182, A077183, A077184, A077186, A077188.
Adjacent sequences: A077184 A077185 A077186 this_sequence A077188 A077189 A077190
Sequence in context: A007384 A077574 A071126 this_sequence A011079 A005928 A113062
|
|
KEYWORD
|
base,more,nonn
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 01 2002
|
|
EXTENSIONS
|
3 more terms from Erich Friedman (efriedma(AT)stetson.edu), Aug 08 2005
|
|
|
Search completed in 0.002 seconds
|