Statements (23)
Predicate | Object |
---|---|
gptkbp:instanceOf |
integer sequence
|
gptkbp:alsoKnownAs |
gptkb:Stern's_diatomic_sequence
gptkb:Stern–Brocot_sequence |
gptkbp:definedIn |
a(0) = 0, a(1) = 1, a(2n) = a(n), a(2n+1) = a(n) + a(n+1)
|
gptkbp:first_terms |
0, 1, 1, 2, 1, 3, 2, 3, 1, 4, 3, 5, 2, 5, 3, 4, ...
|
https://www.w3.org/2000/01/rdf-schema#label |
Stern's sequence
|
gptkbp:namedAfter |
gptkb:Moritz_Abraham_Stern
|
gptkbp:OEIS |
gptkb:A002487
|
gptkbp:property |
a(n) is the numerator of the reduced fraction n/(2^k) for some k
a(0) = 0 a(1) = 1 a(2n) = a(n) a(2n+1) = a(n) + a(n+1) a(n) is always a non-negative integer a(n) counts the number of ways to write n as a sum of powers of 2, each used at most twice |
gptkbp:relatedTo |
gptkb:Farey_sequence
gptkb:Stern–Brocot_tree |
gptkbp:sequence |
integer sequence
recurrence relation nonlinear sequence |
gptkbp:usedIn |
number theory
|
gptkbp:bfsParent |
gptkb:Stern's_diatomic_series
|
gptkbp:bfsLayer |
6
|