Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A093348
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A093348 A 5-fractal "castle" starting with 0. +0
8
0, 1, 0, 1, 0, 5, 4, 5, 4, 5, 0, 1, 0, 1, 0, 5, 4, 5, 4, 5, 0, 1, 0, 1, 0, 25, 24, 25, 24, 25, 20, 21, 20, 21, 20, 25, 24, 25, 24, 25, 20, 21, 20, 21, 20, 25, 24, 25, 24, 25, 0, 1, 0, 1, 0, 5, 4, 5, 4, 5, 0, 1, 0, 1, 0, 5, 4, 5, 4, 5, 0, 1, 0, 1, 0, 25, 24, 25, 24, 25, 20, 21, 20, 21, 20, 25, 24 (list; graph; listen)
OFFSET

1,6

LINKS

B. Cloitre, Graph of a(n) for n=1 up to 25

B. Cloitre, Graph of a(n) for n=1 up to 125

B. Cloitre, Graph of a(n) for n=1 up to 625

FORMULA

a(1)=0 then a(n)=w(n)-a(n-w(n)) where w(n)=5^floor(log(n-1)/log(5))

a(n) = sum(i=1, n-1, (-1)^(i-1)*5^valuation(i, 5))

PROGRAM

(PARI) a(n)=if(n<2, 0, 5^floor(log(n-1)/log(5))-a(n-5^floor(log(n-1)/log(5))))

CROSSREFS

Cf. A093347, A093349

Cf. A060904.

Adjacent sequences: A093345 A093346 A093347 this_sequence A093349 A093350 A093351

Sequence in context: A131291 A131369 A122219 this_sequence A001050 A113784 A021651

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Apr 26 2004

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 8 07:45 EST 2009. Contains 166143 sequences.


AT&T Labs Research