Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A090204
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A090204 a(n) = p-th digit of sqrt(2) where p = n-th prime. +0
2
4, 1, 2, 3, 3, 3, 0, 8, 6, 2, 9, 8, 6, 1, 3, 0, 6, 9, 0, 4, 8, 7, 8, 5, 1, 7, 5, 8, 6, 9, 6, 8, 2, 2, 0, 9, 1, 2, 9, 5, 7, 9, 7, 2, 5, 1, 1, 4, 8, 2, 7, 4, 8, 6, 3, 4, 7, 4, 0, 7, 2, 2, 3, 5, 6, 8, 5, 2, 7, 0, 7, 7, 5, 7, 7, 3, 6, 8, 1, 9, 8, 5, 7, 0, 4, 8, 4, 8, 5, 0, 4, 7, 5, 5, 7, 2, 2, 7, 5, 6, 2, 5, 4, 7, 6 (list; graph; listen)
OFFSET

2,1

COMMENT

The prime-th digits of sqrt(2).

Are the numbers in this sequence uniformly distributed? Could this sequence and A090201-A090203 be used as a random number generators?

EXAMPLE

The 5th prime is 11. The 11th digit of sqrt(2) is 3, the 5th term in the sequence.

PROGRAM

(PARI) \primeth.gp primeth(n) = { default(realprecision, 1000); p=Str(sqrt(2)*10^999); default(realprecision, 28); forprime(x=2, n, print1(mid(p, x, 1)", ") ) } mid(str, s, n) = { v =""; tmp = Vec(str); ln=length(tmp); for(x=s, s+n-1, v=concat(v, tmp[x]); ); return(v) }

CROSSREFS

Sequence in context: A131100 A064124 A106654 this_sequence A156915 A072046 A123609

Adjacent sequences: A090201 A090202 A090203 this_sequence A090205 A090206 A090207

KEYWORD

base,easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jan 22 2004

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research