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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A110908 Starting a priori with the fraction 1/1, list n when the numerator and denominator are both prime for fractions built according to the rule: Add old top and old bottom to get the new bottom, add old top and 6 times the old bottom to get the new top. 0
1, 4, 52, 106 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

k is the multiple 6 in the PARI code. The sequence of fractions found with the property that both numerator and denominator are prime is as follows.

n, num/denom

1, 7/2

4, 241/101

52, 15848109838244286131940714481/6469963748546758449049574741

106, 1732765524527243824670663837908764472971413888795440694899/7073985631629662697450635044051857198371361627935450689

REFERENCES

Prime Obsession, John Derbyshire, 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)+6*b(i-1))/(a(i-1)+b(i-1)).

EXAMPLE

The first four fractions according to the rule are

n,

1,7/2

2,19/9

3,73/28

4,241/101

n=2,3 did not make the list because 9 and 28 are not prime.

PROG

(PARI) primenumdenom(n, k) = { local(a, b, x, tmp, v); a=1; b=1; for(x=1, n, tmp=b; b=a+b; a=k*tmp+a; if(tmp=1, v=a, v=b); if(ispseudoprime(a)&ispseudoprime(b), print1(x", "); ) ); print(); print(a/b+.) }

CROSSREFS

Sequence in context: A048995 A000516 A000854 * A101354 A071953 A144339

Adjacent sequences:  A110905 A110906 A110907 * A110909 A110910 A110911

KEYWORD

more,nonn

AUTHOR

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 16:47 EST 2012. Contains 205635 sequences.