Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A153212
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A153212 A permutation of the integers >= 2 which is constructed by swapping each prime's index difference (from the previous prime) and the prime's power in the factorization of a number. In order the "index difference" to make sense the we consider the factorization to be sorted with respect to the primes but not the powers they are raised to, that is, first comes the smallest prime and each subsequent prime is larger than the previous disregarding their powers. +0
1
2, 4, 3, 8, 6, 16, 5, 9, 18, 32, 15, 64, 54, 12, 7, 128, 10 (list; graph; listen)
OFFSET

2,1

COMMENT

For every n it is true that a(a(n)) = n

FORMULA

denote the i-th prime with p(i): p(1)=2, p(2)=3, p(3)=5, p(4)=7, etc. let n = p(a1)^b1 * p(a2)^b2 * ... * p(ak)^bk is the factorization of n where p(i)^j is the i-th prime raised to power j. As mentioned above, we assume that the primes are sorted, i.e. a1 < a2 < a3... < ak. Then a(n) = p(c1)^d1 * p(c2)^d2 * ... * p(ck)^dk where c1 = b1 and c(i) = b(i) + c(i-1) for i > 1 d1 = a1 and d(i) = a(i) - a(i-1) for i > 1

EXAMPLE

for n = 10 we have 10 = 2^1 * 5^1 = p(1)^1 * p(3)^1 then a(10) = p(1)^1 * p(2)^2 = 2^1 * 3^2 = 18 for n = 18 we have 18 = 2^1 * 3^2 = p(1)^1 * p(2)^2 then a(18) = p(1)^1 * p(3)^1 = 2^1 * 5^1 = 10

CROSSREFS

Sequence in context: A048672 A127301 A122111 this_sequence A124833 A101468 A066194

Adjacent sequences: A153209 A153210 A153211 this_sequence A153213 A153214 A153215

KEYWORD

nonn

AUTHOR

Luchezar Belev (l_belev(AT)yahoo.com), Dec 20 2008

page 1

Search completed in 0.003 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research