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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A264966 Permutation of nonnegative integers: a(n) = A057889(A263273(n)). 12
0, 1, 2, 3, 4, 7, 6, 5, 8, 9, 10, 25, 12, 11, 26, 21, 16, 19, 18, 13, 20, 15, 14, 29, 24, 17, 22, 27, 28, 59, 30, 41, 64, 39, 58, 73, 36, 31, 46, 57, 40, 97, 66, 35, 100, 63, 34, 47, 48, 53, 98, 105, 44, 121, 54, 23, 56, 33, 50, 65, 60, 61, 82, 45, 32, 55, 42, 37, 68, 81, 38, 89, 72, 49, 62, 51, 52, 113, 114, 43, 80, 69 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Perform an adjusted reverse of n in base 3, followed by another adjusted reverse in base 2. "Adjusted reverse" here means a digit-reversing operation where the suffix of trailing zeros (in the base in question) stays as it is at the right side, and only the section from the most significant digit to the least significant nonzero digit is reversed.

LINKS

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

Indranil Ghosh, Python program to generate the sequence

Index entries for sequences that are permutations of the natural numbers

FORMULA

a(n) = A057889(A263273(n)).

Other identities. For all n >= 0:

A000035(a(n)) = A000035(n). [This permutation preserves the parity of n.]

PROG

(Scheme) (define (A264966 n) (A057889 (A263273 n)))

CROSSREFS

Inverse: A264965.

Cf. A000035, A057889, A263273.

Cf. also A264967, A264968.

Sequence in context: A321524 A321464 A263273 * A308728 A201543 A073666

Adjacent sequences:  A264963 A264964 A264965 * A264967 A264968 A264969

KEYWORD

nonn,base

AUTHOR

Antti Karttunen, Dec 05 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 August 19 04:10 EDT 2019. Contains 326109 sequences. (Running on oeis4.)