|
| |
|
|
A048795
|
|
Concatenate p p times, where p runs through the primes.
|
|
0
| |
|
|
22, 333, 55555, 7777777, 1111111111111111111111, 13131313131313131313131313, 1717171717171717171717171717171717, 19191919191919191919191919191919191919, 2323232323232323232323232323232323232323232323
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
LINKS
| M. L. Perez et al., eds., Smarandache Notions Journal
|
|
|
EXAMPLE
| For each prime number p we write down 'p' p times.
2 -> 22
3 -> 333
5 -> 55555
... -> ...
|
|
|
MAPLE
| P:=proc(i) local a, b, c, n; for n from 1 by 1 to i do a:=ithprime(n); b:=a-1; c:=a; while b>0 do c:=a+c*10^floor(evalf((log10(a)+1), 100)); b:=b-1; od; print(c); od; end: P(100); [From Paolo P. Lava (paoloplava(AT)gmail.com), Jan 21 2009]
|
|
|
CROSSREFS
| Cf. A000040, A000461.
Sequence in context: A048376 A053422 A000461 * A068186 A021284 A019623
Adjacent sequences: A048792 A048793 A048794 * A048796 A048797 A048798
|
|
|
KEYWORD
| nonn,base,easy
|
|
|
AUTHOR
| Patrick De Geest (pdg(AT)worldofnumbers.com), Jul 15 1999.
|
| |
|
|