Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A036247
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A036247 Numerator of fraction equal to the continued fraction [ 2, 3, 5, ...p(n) ]. +0
5
2, 7, 37, 266, 2963, 38785, 662308, 12622637, 290982959, 8451128448, 262275964847, 9712661827787, 398481410904114, 17144413330704689, 806185907954024497, 42744997534894003030, 2522761040466700203267 (list; graph; listen)
OFFSET

1,1

FORMULA

a(1)=2; a(2)=7; for n>2: a (n)=prime(n)*a(n-1)+a(n-2) [From Zak Seidov (zakseidov(AT)yahoo.com), Nov 07 2008]

MATHEMATICA

a[1]=2; a[2]=7; a[n_]:=Prime[n]*a[n-1]+a[n-2]; Table[a[n], {n, 20}] [From Zak Seidov (zakseidov(AT)yahoo.com), Nov 07 2008]

PROGRAM

(PARI) a(n)=if(n<0, 0, contfracpnqn(vector(n, i, prime(i)))[1, 1])

CROSSREFS

Cf. A036248.

Sequence in context: A001515 A144301 A083659 this_sequence A107877 A001028 A116481

Adjacent sequences: A036244 A036245 A036246 this_sequence A036248 A036249 A036250

KEYWORD

frac,nonn

AUTHOR

Jeff Burch (gburch(AT)erols.com)

EXTENSIONS

More terms from Benoit Cloitre (benoit7848c(AT)orange.fr), May 25 2003

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 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research