From the definition of apparent magnitude, we know that:

where:
m = apparent magnitude
F = corresponding flux
We also know that the flux is given by the formula:

where:
L = luminosity
d = distance
Therefore:

Now, let's apply these formulae to the same star (therefore, same luminosity), using apparent magnitude and absolute magnitude (which is defined as the apparent magnitude the star would have if it were at a distance of 10pc):

Now, let's solve for m:

=

= 13
Hence, the apparent magnitude of the star would be m = +13