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

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131357 a(1)=1, a(2)=2, for n>1 a(n)=sum of next two smallest integers >a(n-1) which are coprime to sum s=a(1)+..+a(n-1). 0
1, 2, 9, 24, 54, 120, 248, 500, 1004, 2016, 4038, 8082, 16170, 32346, 64700, 129404, 258812, 517644, 1035294, 2070594, 4141194, 8282394, 16564800, 33129608, 66259220, 132518444, 265036896, 530073798, 1060147602, 2120295210 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..30.

EXAMPLE

n=3: a(1)=1, a(2)=2, s=1+2=3; n1=4 (not 3!) and n2=5 are both coprime to s, hence a(3)=n1+n2=9;

n=4: a(1)=1, a(2)=2, a(3)=9, s=1+2+9=12; n1=11 (not 10, 12!) and n2=13 are both coprime to s, hence a(4)=n1+n2=24;

n=5: s=36, n1=25 (not 26, 27, 28!) and n2=29 are both coprime to s, hence a(5)=n1+n2=54;

n=6: s=90; n1=59 (not 55, 56, 57, 58, 60!) and n2=61 are OK, hence a(6)=n1+n2=120.

CROSSREFS

Sequence in context: A185669 A006002 A023662 * A079997 A248436 A222667

Adjacent sequences:  A131354 A131355 A131356 * A131358 A131359 A131360

KEYWORD

nonn

AUTHOR

Zak Seidov, Sep 30 2007

STATUS

approved

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

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

Last modified December 18 20:17 EST 2014. Contains 252174 sequences.