Your task is to create a program that, when run, returns itself as output (this is known as a quine). However, this quine must, when it is copied n times, returns the quine, but with each of its characters duplicated in place n times, where n is a positive integer.
If your original program is Derp:
Derp -> Derp (must return itself as output to be a quine) DerpDerp -> DDeerrpp (the "Derp" is copied twice, so each character in the output has to be copied twice) DerpDerpDerp -> DDDeeerrrppp etc. etc. Keep in mind you're allowed to have whitespace in your "base" program, but they are counted when "interweaving". Say your program is
Derp {newline} (The newline signifies a trailing newline, and there's an extra space after the Derp). When duplicated to become
Derp Derp {newline} You must output
DDeerrpp {newline} {newline} Keep in mind that there's 2 extra spaces after the DDeerrpp.
Rules and Specs:
- Your program must contain at least two distinct characters (which implies that your code must be at least 2 bytes long).
- Standard quine rules apply.
This is code-golf, so shortest code in bytes wins!