|
Search: id:A118115
|
|
|
| A118115 |
|
Partial sums of n concatenated n times. |
|
+0 1
|
|
| 1, 23, 356, 4800, 60355, 727021, 8504798, 97393686, 1097393685, 10101010102107494695, 1121212121213218605806, 122333333333334430727018, 13253646464646465743858331, 1427395060606060607157999745
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
A000461 Concatenate n n times.
|
|
REFERENCES
|
F. Smarandache, "Properties of the numbers", Univ. of Craiova Archives, 1975; Arizona State University Special Collections, Tempe, AZ.
|
|
FORMULA
|
a(n) = SUM[i=1..n] A000461(i). a(n) = SUM[i=1..n] i*(10^(i*L(i))-1)/(10^L(i)-1) where L(i) = A004216(i) + 1 = floor[log10(10i)]
|
|
EXAMPLE
|
a(2) = 1 + 22 = 23 is prime.
a(6) = 1 + 22 + 333 + 4444 + 55555 + 666666 = 727021 is prime.
For what value of n is the next prime a(n)?
|
|
CROSSREFS
|
Cf. A000461, A004216, A048376, A053422.
Adjacent sequences: A118112 A118113 A118114 this_sequence A118116 A118117 A118118
Sequence in context: A021914 A022412 A025946 this_sequence A020572 A021884 A101792
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
Jonathan Vos Post (jvospost2(AT)yahoo.com), May 11 2006
|
|
|
Search completed in 0.002 seconds
|