login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A085005 A Von Koch curve related to the Golden ratio. 6
1, 3, 4, 4, 3, 3, 4, 4, 3, 1, 0, 0, 1, 1, 0, 0, 1, 3, 4, 4, 5, 7, 10, 12, 13, 13, 14, 16, 17, 17, 16, 16, 17, 19, 20, 20, 21, 23, 26, 28, 29, 31, 34, 38, 41, 43, 44, 46, 49, 51, 52, 52, 53, 55, 56, 56, 55, 55, 56, 58, 59, 59, 60, 62, 65, 67, 68, 68, 69, 71, 72, 72, 71, 71, 72, 72, 71 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n)=(-1)*sum(i=1, n, sum(j=1, i, (-1)^floor(j*(1+sqrt(5))/2)))
a(n) = 2*sum(k = 1, n, sum(i = 1, k, b(i)))-n*(n+1)/2, where b(k) = floor(phi*k)-2*floor(phi*k/2)
PROG
(PARI) a(n)=(-1)*sum(i=1, n, sum(j=1, i, (-1)^floor(j*(1+sqrt(5))/2)))
CROSSREFS
Sequence in context: A334492 A306571 A019917 * A370454 A306477 A276865
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Jun 17 2003
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 07:40 EDT 2024. Contains 372358 sequences. (Running on oeis4.)