login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106625 Inverse of A105361. 0
2, 1, 4, 3, 8, 5, 10, 6, 13, 7, 16, 9, 17, 11, 18, 12, 21, 14, 24, 15, 25, 19, 26, 20, 29, 22, 32, 23, 33, 27, 34, 28, 36, 30, 37, 31, 38, 35, 40, 39, 41, 42, 45, 43, 47, 44, 48, 46, 49, 53, 50, 57, 51, 63, 52, 67, 54, 68, 55, 73, 56, 75, 58, 76, 59, 79, 60, 80, 61, 82, 62, 83 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Position of n in permutation of natural numbers A105361.

LINKS

Table of n, a(n) for n=1..72.

MATHEMATICA

p = RealDigits[Pi, 10, 100][[1]]; e = RealDigits[E, 10, 100][[1]]; r = Range[100]; a[n_] := a[n] = Block[{c = Complement[r, Table[ a[i], {i, n - 1}]]}, If[p[[n]] > e[[n]], Select[c, EvenQ[ # ] &][[1]], Select[c, OddQ[ # ] &][[1]]]]; t = Table[ a[n], {n, 80}]; Position[t, # ] & /@ Range[80] // Flatten

CROSSREFS

Cf. A105361.

Sequence in context: A128280 A182177 A281878 * A275902 A008347 A112387

Adjacent sequences:  A106622 A106623 A106624 * A106626 A106627 A106628

KEYWORD

nonn

AUTHOR

Zak Seidov and Robert G. Wilson v, May 10 2005

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 April 10 17:00 EDT 2021. Contains 342852 sequences. (Running on oeis4.)