Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A156140
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A156140 Accumulation of Stern's diatomic series: a(0)=-1, a(1)=0, a(n+1)-(2e(n)+1).a(n)+a(n-1)=0 (n>=1); e(n) is exponent highest power of 2 dividing n +0
1
-1, 0, 1, 3, 2, 7, 5, 8, 3, 13, 10, 17, 7, 18, 11, 15, 4, 21, 17, 30, 13, 35, 22, 31, 9, 32, 23, 37, 14, 33, 19, 24, 5, 31, 26, 47, 21, 58, 37, 53, 16, 59, 43, 70, 27, 65, 38, 49, 11, 50, 39, 67, 28, 73, 45, 62, 17, 57, 40, 63, 23, 52, 29, 35, 6, 43, 37, 68, 31, 87, 56, 81, 25, 94, 69 (list; graph; listen)
OFFSET

0,4

FORMULA

Let b(n) = a002487(n), diatomic serie of Stern

a(n+1).b(n) - a(n).b(n+1) = 1 for n >= 0

a(2n+1) = a(n) + a(n+1) + b(n) + b(n+1) for n >= 0

a(2n) = a(n) + b(n) for n >= 0

a(2^n + k) = -n.a(k) + (n^2 + n + 1).b(k) for 0 <= k <= 2^n

b(2^n + k) = -a(k) + (n + 1).b(k) for 0 <= k <= 2^n

MAPLE

A007814 := proc(n) local ifs, p; ifs := ifactors(n)[2] ; for p in ifs do if op(1, p) = 2 then RETURN(op(2, p) ) ; fi; od: RETURN(0) ; end: A156140 := proc(n) option remember ; if n <= 1 then n-1 ; else (2*A007814(n-1)+1)*procname(n-1)-procname(n-2) ; fi; end: seq(A156140(n), n=0..80) ; [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 14 2009]

CROSSREFS

Cf. A002487, A007814

Sequence in context: A059894 A126314 A086702 this_sequence A069888 A073281 A130922

Adjacent sequences: A156137 A156138 A156139 this_sequence A156141 A156142 A156143

KEYWORD

uned,sign

AUTHOR

Arie Werksma (Werksma(AT)Tiscali.nl), Feb 04 2009

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 14 2009

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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research