Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A105362
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A105362 Rearrangement of positive integers according to decimal expansions of pi and e (see comments). +0
2
1, 2, 3, 4, 5, 7, 9, 6, 11, 8, 13, 15, 17, 19, 21, 10, 23, 25, 27, 29, 31, 33, 35, 12, 14, 16, 37, 39, 18, 41, 43, 20, 22, 45, 47, 24, 26, 28, 49, 51, 30, 53, 55, 57, 59, 61, 32, 34, 36, 38, 40, 42, 63, 44, 46, 65, 67, 48, 69, 50, 52, 54, 71, 56, 58, 60, 73, 75, 62, 77, 64, 66 (list; graph; listen)
OFFSET

1,2

COMMENT

Take decimal expansions of pi and e: p=3,1,4,1,5,9,2,6,5,... e=2,1,4,3,6,8,10,5,12,... If p(n)<e(n) then a(n) is the next even number otherwise a(n) is the next odd number.

MATHEMATICA

re=RealDigits[N[Pi, 200]][[1]]; ee=RealDigits[N[E, 200]][[1]]; bb={}; od=-1; ev=0; Do[If[re[[i]]<ee[[i]], ev=ev+2; bb=Append[bb, ev], od=od+2; bb=Append[bb, od]], i, 200}]; bb

CROSSREFS

Cf. A105361.

Sequence in context: A099088 A029447 A161751 this_sequence A117331 A080612 A039261

Adjacent sequences: A105359 A105360 A105361 this_sequence A105363 A105364 A105365

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Apr 01 2005

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 November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research