|
Search: id:A140361
|
|
|
| A140361 |
|
tau(n), n >= 1, where tau(n) is equal to the number of additions, subtractions, or multiplications necessary to reach n starting from 1 and 2. |
|
+0 2
|
|
| 0, 0, 1, 1, 2, 2, 3, 2, 2, 3, 3, 3, 4, 3, 3, 2, 3, 3, 4, 3, 4, 4, 4, 4, 3, 4, 3, 4, 4, 4, 4, 3, 4, 4, 4, 3, 4, 4, 4, 4, 5, 4, 5, 5, 4, 5, 5, 4, 4, 4, 5, 5, 5, 4, 5, 4, 5, 5, 5, 4, 5, 4, 4, 3, 4, 4, 5, 4, 5, 5, 5, 4, 5, 5, 4, 5, 5, 4, 4, 4, 3, 4, 4, 4, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4
(list; graph; listen)
|
|
|
OFFSET
|
1,5
|
|
|
COMMENT
|
tau(n) is the name of the function given in the Coiran article, it has no relation to the divisor function. [From Leonid Broukhis (leob(AT)mailcom.com), Aug 04 2008]
|
|
REFERENCES
|
P. Coiran, Valiant's Model and the Cost of Computing Integers, Comput. Complex. 13 (2004), 131-146
|
|
LINKS
|
P. Coiran, http://perso.ens-lyon.fr/pascal.koiran/Publis/tau.springer.pdf.
|
|
EXAMPLE
|
tau(7) = 3 because we 7 = (2 + 1) + (2 * 2), or 7 = 2 * (2 + 2) - 1 and there is no shorter way.
|
|
CROSSREFS
|
Sequence in context: A084126 A135975 A136032 this_sequence A155940 A153095 A054483
Adjacent sequences: A140358 A140359 A140360 this_sequence A140362 A140363 A140364
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Leonid Broukhis (leob(AT)mailcom.com), Jul 21 2008
|
|
EXTENSIONS
|
So this is tau( ) applied to which sequence? - N. J. A. Sloane (njas(AT)research.att.com), Jul 24 2008
Corrected, from 6 to 5, a(59) = ((2+2)*2)*8-1-4 and a(94) = (((2+2)+2)+4)*10-6 Leonid Broukhis (leob(AT)mailcom.com), Aug 04 2008
|
|
|
Search completed in 0.002 seconds
|