login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A095690 Permutation of natural numbers inverse to A075618. 0
1, 2, 4, 3, 5, 6, 8, 7, 10, 9, 12, 13, 14, 11, 16, 18, 20, 22, 24, 15, 26, 17, 28, 27, 30, 32, 34, 21, 36, 19, 25, 23, 38, 40, 29, 42, 44, 46, 48, 35, 50, 52, 54, 31, 56, 58, 60, 33, 37, 45, 62, 43, 41, 64, 66, 51, 68, 70, 72, 39, 74, 76, 78, 53, 80, 82, 57, 55, 84, 86, 65, 47 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(3)=4 because A075618(4)=3.
MAPLE
a:=proc(n) option remember; local t, S, i; S:={$1..300} minus {seq(a(i), i=1..n-1)}; t:=min(S[]); if n::odd then while parse(cat(seq(a((n+1)/2+i), i=0..(n-3)/2), t)) mod (n+1)/2 <> 0 do S:=S minus {t}; t:=min(S[]) od fi; t end: a(1):=1: L:=[seq(a(n), n=1..186)]: A:=n-> if member(n, L, 'p') then p else 0 fi: seq(A(n), n=1..157);
CROSSREFS
Cf. A075618.
Sequence in context: A338500 A259570 A334672 * A094870 A075618 A095689
KEYWORD
easy,nonn
AUTHOR
Alec Mihailovs (alec(AT)mihailovs.com), Jul 05 2004
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 08:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)