Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A111016
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A111016 Starting with the fraction 1/1, prime denominators of fractions built according to the rule: add top and bottom to get the new bottom, add top and 10 times bottom to get the new top. +0
1
2, 13, 3457, 17797573, 105563930438375514795375041782813, 548910881501677043216804568782519749 (list; graph; listen)
OFFSET

1,1

REFERENCES

John Derbyshire, Prime Obsession, Joseph Henry Press, April 2004, p. 16.

FORMULA

Given a(0)=1, b(0)=1 then for i=1, 2, .. a(i)/b(i) = (a(i-1)+2*b(i-1)) /(a(i-1) + b(i-1)).

PROGRAM

(PARI) primenum(n, k, typ) = \ k=mult, typ=1 num, 2 denom. output prime num or denom. { local(a, b, x, tmp, v); a=1; b=1; for(x=1, n, tmp=b; b=a+b; a=k*tmp+a; if(typ==1, v=a, v=b); if(isprime(v), print1(v", "); ) ); print(); print(a/b+.) }

CROSSREFS

Also A015519(a(n)) is prime.

Sequence in context: A103641 A110820 A139519 this_sequence A118912 A135970 A027738

Adjacent sequences: A111013 A111014 A111015 this_sequence A111017 A111018 A111019

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Oct 02 2005

EXTENSIONS

Edited by njas at the suggestion of Andrew Plewe, May 16 2007

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 August 8 13:43 EDT 2008. Contains 142651 sequences.


AT&T Labs Research