login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A265353 Permutation of nonnegative integers: a(n) = A264985(A263273(n)). 10
0, 1, 3, 2, 4, 10, 6, 9, 12, 5, 7, 19, 8, 13, 31, 24, 28, 37, 15, 11, 33, 18, 27, 30, 21, 36, 39, 14, 16, 46, 23, 25, 73, 69, 55, 64, 17, 22, 58, 26, 40, 94, 78, 85, 112, 51, 34, 100, 72, 82, 91, 75, 109, 118, 42, 32, 96, 20, 35, 105, 60, 99, 102, 45, 29, 87, 54, 81, 84, 57, 90, 93, 48, 38, 114, 63, 108, 111, 66, 117, 120, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Composition of A263273 with the permutation obtained from its odd bisection.

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..9841

Index entries for sequences that are permutations of the natural numbers

FORMULA

a(n) = A264985(A263273(n)).

PROG

(Scheme) (define (A265353 n) (A264985 (A263273 n)))

(Python)

from sympy import factorint

from sympy.ntheory.factor_ import digits

from operator import mul

def a030102(n): return 0 if n==0 else int(''.join(map(str, digits(n, 3)[1:][::-1])), 3)

def a038502(n):

    f=factorint(n)

    return 1 if n==1 else reduce(mul, [1 if i==3 else i**f[i] for i in f])

def a038500(n): return n/a038502(n)

def a263273(n): return 0 if n==0 else a030102(a038502(n))*a038500(n)

def a264985(n): return (a263273(2*n + 1) - 1)/2

def a(n): return a264985(a263273(n)) # Indranil Ghosh, May 22 2017

CROSSREFS

Inverse: A265354.

Cf. A263273, A264985.

Cf. also A265341, A265351, A265355, A265356.

Sequence in context: A033820 A095259 A260596 * A266189 A277743 A296099

Adjacent sequences:  A265350 A265351 A265352 * A265354 A265355 A265356

KEYWORD

nonn,base

AUTHOR

Antti Karttunen, Dec 07 2015

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 6 06:34 EST 2019. Contains 329784 sequences. (Running on oeis4.)