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.

Showing 1-4 of 4 results.

A192741 Number of straight line segments in all letters of the capitalized Spanish name of n. Spanish version of A163828.

Original entry on oeis.org

6, 3, 1, 8, 7, 4, 5, 11, 3, 13, 9, 7, 5, 12, 11, 9, 12, 18, 10, 20, 16, 16, 14, 21, 20, 17, 18, 24, 16, 26, 17, 23, 21, 28, 27, 24, 25, 31, 23, 33, 17, 23, 21, 28, 27, 24, 25, 31, 23, 33, 16, 22, 20, 27, 26, 23, 24, 30, 22, 32, 16
Offset: 0

Views

Author

Claudio Meller, Jul 09 2011

Keywords

Comments

Number of straight line segments (chisel strokes) in the capitalized Spanish name of n (excluding spaces and), counting smooth curves as zero strokes.
The 15 letters which are entirely strokes (no curves): A(3), E(4), F(3), H(3), I(1), K(3), L(2), M(4), N(3), T(2), V(2), W(4), X(2), Y(3), Z(3).
Those 4 which are entirely curves (and count as zero): C, O, S, U.
Those 7 which mix strokes and curves: B(1), D(1), G(2), J(1), P(1), Q(1), R(2).

Examples

			a(0) = 6 because CERO has (letter by letter) 0+4+2+0 = 6 straight line segments (chisel strokes).
a(1) = 3 because UNO has 0+3+0 = 3 strokes.
a(20) = 16 because VEINTE (all strokes) has 2+4+1+3+2+4 = 16 strokes.
		

Crossrefs

Cf. A163828.

A164058 Number of curves in n-th letter of capitalized English alphabet (A being first).

Original entry on oeis.org

0, 2, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Jonathan Vos Post, Aug 08 2009

Keywords

Comments

"Curve" as was excluded from sums in A163828. Curves are classified as: circle as occurs in {O, Q}, semicircle as in {B (twice), C, D, G, J, P, R, U}, and other {S}. We do not consider "S" as two semicircles, nor make various approximations of curves as sequences of line segments (as in A002963). In conjunction with A163828, we may sum the number of curves and straight line segments in an English magiscule (capital) letter, and thus derive an integer total of the number of straight and curved segments in the spelled-out English name of any nonnegative integer.

Examples

			a(2) = 2 because of the two semicircles in the 2nd letter, B. a(k) = 0 for k = {the letters occurring in A163670} = {A, E, F, H, I, K, L, M, N, T, V, W, X, Y, Z}.
		

Crossrefs

A164059 Number of straight plus curved segments in the capitalized English name of n.

Original entry on oeis.org

11, 8, 7, 16, 8, 10, 4, 14, 13, 11, 9, 19, 18, 22, 21, 20, 17, 27, 24, 24, 18, 26, 25, 34, 26, 28, 22, 32, 31, 29, 14, 22, 21, 30, 22, 24, 18, 28, 27, 25, 12, 20, 19, 28, 20, 22, 16, 26, 25, 23, 12, 20, 19, 28, 20, 22, 16, 26, 25, 23, 9, 17, 16, 25, 17, 19, 13, 23, 22, 20, 19
Offset: 0

Views

Author

Jonathan Vos Post, Aug 08 2009

Keywords

Comments

Number of straight plus curved segments in all letters of the name of n, excluding hyphens.

Examples

			a(0) = 11 because ZERO has (letter by letter) 3+4+2+0 = 9 straight line segments (chisel strokes) and 0+0+1+1 = 2 curves as in A164058, with 9 + 2 = 11.
a(1) = 8 because of 1 curve in O, plus 3 chisel strokes in N and 4 chisel strokes in E, summing to 8 segments (straight or curved) in ONE.
		

Crossrefs

Programs

  • Maple
    names :=["zero", "one", "two", "three", "four", "five", "six", "seven", "eight",
    "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen",
    "seventeen", "eighteen", "nineteen", "twenty", "twentyone", "twentytwo", "twentythree",
    "twentyfour", "twentyfive", "twentysix", "twentyseven", "twentyeight", "twentynine", "thirty",
    "thirtyone", "thirtytwo", "thirtythree", "thirtyfour", "thirtyfive", "thirtysix",
    "thirtyseven", "thirtyeight", "thirtynine", "forty", "fortyone", "fortytwo",
    "fortythree", "fortyfour", "fortyfive", "fortysix", "fortyseven", "fortyeight",
    "fortynine", "fifty", "fiftyone", "fiftytwo", "fiftythree", "fiftyfour",
    "fiftyfive", "fiftysix", "fiftyseven", "fiftyeight", "fiftynine", "sixty",
    "sixtyone", "sixtytwo", "sixtythree", "sixtyfour", "sixtyfive", "sixtysix",
    "sixtyseven", "sixtyeight", "sixtynine", "seventy", "seventyone", "seventytwo",
    "seventythree", "seventyfour", "seventyfive", "seventysix", "seventyseven",
    "seventyeight", "seventynine", "eighty", "eightyone", "eightytwo", "eightythree",
    "eightyfour", "eightyfive", "eightysix", "eightyseven", "eightyeight", "eightynine",
    "ninety", "ninetyone", "ninetytwo", "ninetythree", "ninetyfour", "ninetyfive",
    "ninetysix", "ninetyseven", "ninetyeight", "ninetynine", "onehundred"] :
    cstrok := [ 3, 1, 0, 1, 4, 3, 2, 3, 1, 1, 3, 2, 4, 3, 0, 1, 1, 2, 0, 2, 0, 2, 4, 2, 3, 3 ] ;
    A164058 := [ 0, 2, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0] ;
    A164059 := proc(n) global names, cstrok, A164058; local a,idx ; a := 0 ; for c in StringTools[Explode]( names[n+1]) do idx := StringTools[Ord](c)-96 ; a := a+ cstrok[idx]+A164058[idx] ; od: a ; end:
    seq(A164059(n),n=0..70) ; # R. J. Mathar, Sep 29 2009

Formula

a(n) = A163828(n) + (number of curves in the letters of the English name of n as in A164058).
a(n) = A163828(n) for n in A163670.

Extensions

More terms from R. J. Mathar, Sep 29 2009

A164052 Numbers divisible by the number of chisel strokes in their English name (capitalized, excluding hyphens, excluding curves).

Original entry on oeis.org

6, 16, 29, 40, 66, 72, 93, 104, 126, 138, 144, 180, 200, 216, 240, 264, 280, 462, 468, 490, 492, 495, 630, 665, 675, 704, 720, 740, 756, 765, 795, 861, 900, 945, 988, 1078, 1281, 1320, 1386, 1410, 1428, 1440, 1450, 1518, 1566, 1586, 1620, 1736, 1800, 1825
Offset: 1

Views

Author

Jonathan Vos Post, Aug 08 2009

Keywords

Comments

For k = 1, 2, 3, 5, 16, 29, k divides A163828(k). "Capitalized" means all-caps, magiscule, in a sans serif font.

Examples

			a(1) = 16 and a(2) = 29 are fixed points of A163828. a(3) = 40 because "FORTY" has 10 chisel strokes, and 4*10 = 40.
		

Crossrefs

Formula

{k such that A163828(k) | k}.

Extensions

a(1) = 6 inserted and terms after a(5) from Nathaniel Johnston, May 08 2011
Showing 1-4 of 4 results.