Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A009947
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A009947 Sequence of nonnegative integers, but insert n/2 after every even number n. +0
14
0, 0, 1, 2, 1, 3, 4, 2, 5, 6, 3, 7, 8, 4, 9, 10, 5, 11, 12, 6, 13, 14, 7, 15, 16, 8, 17, 18, 9, 19, 20, 10, 21, 22, 11, 23, 24, 12, 25, 26, 13, 27, 28, 14, 29, 30, 15, 31, 32, 16, 33, 34, 17, 35, 36, 18, 37, 38, 19, 39, 40 (list; graph; listen)
OFFSET

0,4

COMMENT

Coefficients in expansion of e/3 = Sum a(n)/n!, n=1..inf, using greedy algorithm.

Numerators of Peirce sequence of order 2.

REFERENCES

R. L. Graham, D. E. Knuth and O. Patashnik, Concrete Mathematics, Addison-Wesley, Reading, MA, 2nd ed. 1998, p. 151.

MAPLE

A009947 := proc(a, n) local i, b, c; b := a; c := [ floor(b) ]; for i from 1 to n-1 do b := b-c[ i ]/i!; c := [ op(c), floor(b*(i+1)!) ]; od; c; end:

CROSSREFS

Cf. A071281.

Sequence in context: A112382 A117384 A125160 this_sequence A166711 A026249 A130527

Adjacent sequences: A009944 A009945 A009946 this_sequence A009948 A009949 A009950

KEYWORD

nonn,easy

AUTHOR

R. W. Gosper

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research