cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

User: Chris Smith

Chris Smith's wiki page.

Chris Smith has authored 2 sequences.

A330247 The decimal form of the n-th color mentioned in the song "I Can Sing a Rainbow".

Original entry on oeis.org

16711680, 16776960, 16761035, 65280, 10494192, 16753920, 255
Offset: 1

Author

Chris Smith, Dec 31 2019

Comments

In this sequence the list of X11 color names (created at the Massachusetts Institute of Technology during the development of color-based computer display systems) has been used. In the X11 Color System, color codes are traditionally given in hexadecimal form RRGGBB to show the mix of red, green and blue required to form the color. In this sequence, the numbers have been converted into their decimal form so that, for example, pink, orange and blue are changed from ffc0cb, ffa500, 0000ff respectively to 16761035, 16753920, 255.
The song "I Can Sing a Rainbow" was written by Arthur Hamilton and made famous when it was sung by Peggy Lee in the 1955 film "Pete Kelly's Blues". Although various artists have recorded the song over the years, sometimes altering the order of the colors, here the sequence sung by Peggy Lee is used, namely "red and yellow and pink and green, purple and orange and blue".

Examples

			Red and yellow and pink and green
Purple and orange and blue
I can sing a rainbow
Sing a rainbow
Sing a rainbow too.
     | X11 Color  | hexadecimal  | decimal
     |   System   |  color code  | value =
   n |    name    |    rrggbb    |   a(n)
   --+------------+--------------+---------
   1 |    red     |    ff0000    | 16711680
   2 |   yellow   |    ffff00    | 16776960
   3 |    pink    |    ffc0cb    | 16761035
   4 |   green    |    00ff00    |    65280
   5 |   purple   |    a020f0    | 10494192
   6 |   orange   |    ffa500    | 16753920
   7 |    blue    |    0000ff    |      255
		

A249030 The difference between the number of letters and the number of syllables in n in English. (Omit "and" in both.)

Original entry on oeis.org

2, 2, 2, 4, 3, 3, 2, 3, 4, 3, 2, 3, 5, 6, 6, 5, 5, 6, 6, 6, 4, 6, 6, 8, 7, 7, 6, 7, 8, 7, 4, 6, 6, 8, 7, 7, 6, 7, 8, 7, 3, 5, 5, 7, 6, 6, 5, 6, 7, 6, 3, 5, 5, 7, 6, 6, 5, 6, 7, 6, 3, 5, 5, 7, 6, 6, 5, 6, 7, 6, 4, 6, 6, 8, 7, 7, 6, 7, 8, 7
Offset: 0

Author

Chris Smith, Oct 27 2014

Keywords

Comments

Take the number of letters in the spelling of a number and subtract the number of syllables in the sounding of that number. For example, zero has four letters and two syllables generating 4-2=2 for the first term. As such it is linked to sequences A005589 and A075774.

Crossrefs

Formula

a(n) = A005589(n) - A075774(n).

Extensions

Corrected a(11) and extended to a(79) by Chris Smith, Mar 16 2015