login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A193496 a(n) = 1 iff digit n+1 of pi is >= digit n, otherwise a(n) = 0. We consider 3 to be digit 1 of pi. 3
0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1

COMMENTS

If A000796(n+1) >= A000796(n) then a(n)=1, else a(n)=0.

a(n) = if A095916(n) < 0 then 0 else 1. - Reinhard Zumkeller, Mar 12 2015

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..1000

Index entries for sequences related to the number Pi

EXAMPLE

a(1) = 0 because A000796(2)=1 < A000796(1)=3.

MATHEMATICA

nn = 100; d = RealDigits[N[Pi, nn]][[1]]; Table[Boole[d[[n + 1]] >= d[[n]]], {n, nn - 1}] (* T. D. Noe, Jul 29 2011 *)

PROG

(Haskell)

a193496 = fromEnum . (>= 0) . a095916  -- Reinhard Zumkeller, Mar 12 2015

CROSSREFS

Cf. A000796.

Cf. A095916, A030658.

Sequence in context: A089809 A165211 A188027 * A284533 A286665 A096270

Adjacent sequences:  A193493 A193494 A193495 * A193497 A193498 A193499

KEYWORD

nonn,base

AUTHOR

Alexander R. Povolotsky, Jul 28 2011

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 November 22 18:55 EST 2019. Contains 329410 sequences. (Running on oeis4.)