Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A130633
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A130633 Additive persistence of Fibonacci numbers. +0
1
0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 3, 2, 2, 4, 1, 2, 3, 2, 2, 2, 1, 4, 2, 3, 1, 3, 3, 4, 2, 1, 3, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1 (list; graph; listen)
OFFSET

0,10

COMMENT

Up to 10000 the maximum value is 4.

EXAMPLE

3524578 -> 3+5+2+4+5+7+8 = 34 -> 3+4 = 7 -> persistence = 2

MAPLE

P:=proc(n) local f0, f1, f2, i, k, w, ok, cont; f0:=0; f1:=1; print(0); print(0); for i from 0 by 1 to n do f2:=f1+f0; f0:=f1; f1:=f2; w:=1; ok:=1; k:=f2; if k<10 then print(0); else cont:=1; while ok=1 do while k>0 do w:=w*(k-(trunc(k/10)*10)); k:=trunc(k/10); od; if w<10 then ok:=0; print(cont); else cont:=cont+1; k:=w; w:=1; fi; od; fi; od; end: P(100);

CROSSREFS

Cf. A000045.

Sequence in context: A107901 A030423 A130631 this_sequence A048198 A096006 A131294

Adjacent sequences: A130630 A130631 A130632 this_sequence A130634 A130635 A130636

KEYWORD

easy,nonn,base

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Jun 19 2007, corrected Jun 22 2007

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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research