Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A075162
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A075162 Position of A014486(n) in A075165, minus one. +0
5
0, 1, 2, 3, 4, 5, 8, 7, 15, 6, 9, 14, 11, 23, 24, 17, 26, 31, 63, 80, 511, 255, 65535, 10, 13, 20, 19, 39, 34, 29, 44, 47, 95, 134, 767, 383, 98303, 48, 49, 74, 35, 71, 124, 53, 242, 127, 1023, 728, 32767, 4095, 16777215, 624, 161, 19682, 33554431, 262143, 6560 (list; graph; listen)
OFFSET

0,3

COMMENT

See A075166.

LINKS

A. Karttunen, Alternative Catalan Orderings (with the complete Scheme source)

Index entries for sequences that are permutations of the natural numbers

PROGRAM

(Scheme functions showing the essential idea. For the complete source, follow the "Alternative Catalan Orderings" link:)

(define (A075162 n) (-1+ (parenthesization->primefactorization (binexp->parenthesization (A014486 n)))))

(define (parenthesization->primefactorization p) (Nvector->primefactorization! (map parenthesization->primefactorization p)))

(define (Nvector->primefactorization! el) (let loop ((el (reverse! el)) (i 1) (z 1)) (cond ((null? el) z) ((null? (cdr el)) (* (expt (A008578 i) (car el)) z)) (else (loop (cdr el) (1+ i) (* (expt (A008578 i) (-1+ (car el))) z))))))

CROSSREFS

Inverse of A075161. a(n) = A075164(n+1)-1. Cf. A075157, A075169.

Sequence in context: A069797 A091893 A074756 this_sequence A056240 A069968 A086931

Adjacent sequences: A075159 A075160 A075161 this_sequence A075163 A075164 A075165

KEYWORD

nonn

AUTHOR

Antti Karttunen Sep 13 2002

page 1

Search completed in 0.002 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 September 4 21:24 EDT 2008. Contains 143414 sequences.


AT&T Labs Research