This site is supported by donations to The OEIS Foundation.

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A064505 Interchange primes and their squares. 5
 1, 4, 9, 2, 25, 6, 49, 8, 3, 10, 121, 12, 169, 14, 15, 16, 289, 18, 361, 20, 21, 22, 529, 24, 5, 26, 27, 28, 841, 30, 961, 32, 33, 34, 35, 36, 1369, 38, 39, 40, 1681, 42, 1849, 44, 45, 46, 2209, 48, 7, 50, 51, 52, 2809, 54, 55, 56, 57, 58, 3481, 60, 3721, 62, 63, 64, 65, 66 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS a(a(n)) = n, self-inverse permutation for the natural numbers. LINKS Zak Seidov, Table of n, a(n) for n = 1..1000. MATHEMATICA s=Range[1000]; Do[p=Prime[n]; s[[p]]=p^2, {n, PrimePi[1000]}]; Do[p=Prime[n]; s[[p^2]]=p, {n, PrimePi[Sqrt@1000]}]; s (* Zak Seidov, Jun 29 2008 *) CROSSREFS Sequence in context: A236854 A235491 A256513 * A253288 A048798 A007914 Adjacent sequences:  A064502 A064503 A064504 * A064506 A064507 A064508 KEYWORD nonn AUTHOR Reinhard Zumkeller, Oct 16 2001 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 20 16:20 EST 2019. Contains 319335 sequences. (Running on oeis4.)