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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A035489 Main diagonal of the Stolarsky array. 2
1, 6, 18, 39, 81, 157, 309, 576, 1042, 1885, 3338, 6011, 10569, 18321, 31851, 55717, 95320, 163580, 278208, 478807, 814329, 1374926, 2328359, 3963782, 6656320, 11209356, 18772741, 31524784, 53186481, 88750072, 148471480, 247281057 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

General solution for the Stolarsky array by row, column is given by the GP-PARI program. Solution for the main diagonal in A035489 is found by setting r=c. If computing large terms for the Stolarsky array, increase the default precision of GP-PARI to accommodate the size. - Randall L. Rathbun (randallr(AT)abac.com), Jan 25 2002

LINKS

N. J. A. Sloane, Classic Sequences

PROG

(PARI) {Stolarsky(r, c)= tau=(1+sqrt(5))/2; a=floor(r*(1+tau)-tau/2); b=round(a*tau); if(c==1, a, if(c==2, b, for(i=1, c-2, d=a+b; a=b; b=d; ); d))}

CROSSREFS

See A007064 for references.

Sequence in context: A005899 A180118 A129863 * A122061 A002411 A023658

Adjacent sequences:  A035486 A035487 A035488 * A035490 A035491 A035492

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Randall L. Rathbun (randallr(AT)abac.com), Jan 25 2002

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 16 01:27 EST 2012. Contains 205860 sequences.