Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A137808
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A137808 a(0) = a(1) = 1. a(n) = a(n-1) + a(n-b(n)), where b(n) is smallest prime dividing n. +0
2
1, 1, 2, 3, 5, 6, 11, 12, 23, 34, 57, 58, 115, 116, 231, 346, 577, 578, 1155, 1156, 2311, 3466, 5777, 5778, 11555, 13866, 25421, 36976, 62397, 62398, 124795, 124796, 249591, 374386, 623977, 748772, 1372749, 1372750, 2745499, 4118248, 6863747 (list; graph; listen)
OFFSET

0,3

LINKS

James A. Sellers (sellersj(AT)math.psu.edu), Feb 18 2008, Table of n, a(n) for n = 0..101

Leroy Quet, Home Page (listed in lieu of email address)

MAPLE

with(numtheory): a:=proc(n) option remember: if n = 0 or n = 1 then RETURN(1) fi: a(n-1) + a(n-ifactors(n)[2][1][1]): end: for i from 0 to 100 do printf(`%d, `, a(i)) od: - James A. Sellers (sellersj(AT)math.psu.edu), Feb 18 2008

MATHEMATICA

a = {1, 1}; Do[AppendTo[a, a[[ -1]] + a[[n - FactorInteger[n][[1, 1]] + 1]]], {n, 2, 70}]; a - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Feb 14 2008

CROSSREFS

Cf. A137809, A020639.

Sequence in context: A127524 A117086 A081026 this_sequence A091909 A100883 A104012

Adjacent sequences: A137805 A137806 A137807 this_sequence A137809 A137810 A137811

KEYWORD

nonn

AUTHOR

Leroy Quet Feb 11 2008

EXTENSIONS

Corrected and extended by Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Feb 14 2008

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 14:49 EST 2009. Contains 167514 sequences.


AT&T Labs Research