

A105357


Rearrangement of positive integers: parity of a[n] is opposite to parity of nth digit of decimal expansion of Pi (see comments).


2



2, 4, 1, 6, 8, 3, 10, 12, 14, 5, 7, 16, 18, 20, 9, 22, 24, 26, 28, 11, 30, 13, 15, 17, 19, 21, 23, 32, 34, 25, 36, 27, 38, 40, 42, 29, 31, 33, 35, 37, 44, 46, 48, 50, 39, 52, 54, 56, 58, 60, 62, 64, 66, 41, 68, 43, 45, 47, 70, 72, 49, 74, 51, 53, 76, 78, 55, 80, 57, 82, 59, 84
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Take decimal expansion of pi: 3,1,4,1,5,9,2,6,5,... First digit pi(1)=3, hence a(1)=2; pi(2)=1, hence a(2)=4, pi(3)=4, hence a(3)=1, etc.


LINKS

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


CROSSREFS

Cf. A105353  A105360.
Sequence in context: A249144 A080032 A297121 * A167546 A011369 A110877
Adjacent sequences: A105354 A105355 A105356 * A105358 A105359 A105360


KEYWORD

nonn,base


AUTHOR

Zak Seidov, Apr 01 2005


STATUS

approved



