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-3 of 3 results.

A109648 Sequence is its own ASCII representation (including commas and spaces).

Original entry on oeis.org

53, 51, 44, 32, 53, 49, 44, 32, 52, 52, 44, 32, 51, 50, 44, 32, 53, 51, 44, 32, 52, 57, 44, 32, 52, 52, 44, 32, 51, 50, 44, 32, 53, 50, 44, 32, 53, 50, 44, 32, 52, 52, 44, 32, 51, 50, 44, 32, 53, 49, 44, 32, 53, 48, 44, 32, 52, 52, 44, 32, 51, 50, 44, 32, 53, 51, 44, 32, 53
Offset: 0

Views

Author

Andrew Weimholt, Aug 05 2005

Keywords

Comments

Only possible values are 32, 44, 48, 49, 50, 51, 52, 53, 54, 55, 56 and 57 which make their first appearance at n: 3, 2, 53, 5, 13, 1, 8, 0, 853, 85, 213, 21. - Robert G. Wilson v, May 02 2006

Examples

			a(0) = 53 = 0x35 --> '5'
a(1) = 51 = 0x33 --> '3'
a(2) = 44 = 0x2C --> ','
a(3) = 32 = 0x20 --> ' '
a(4) = 53 = 0x35 --> '5'
a(5) = 49 = 0x33 --> '1'
a(6) = 44 = 0x2C --> ','
		

Crossrefs

Cf. A109733 is another version.

Programs

  • Mathematica
    a[0] = 53; a[1] = 51; a[n_] := Switch[Mod[n, 4], 0, 48 + Floor[a[n/4]/10], 1, 48 + Mod[a[(n - 1)/4], 10], 2, 44, 3, 32]; Table[a[n], {n, 0, 68}] (* Robert G. Wilson v, May 02 2006 *)
  • PARI
    (t=s->Vec(Vecsmall(Str(s))[2..-2]))(t(t(t(t([5]))))) \\ M. F. Hasler, Feb 02 2016

Formula

a(4n) = 48 + floor( a(n)/10 ), a(4n+1) = 48 + remainder( a(n)/10 ), a(4n+2) = 44, a(4n+3) = 32.

A130764 ASCII codes for upper case letters.

Original entry on oeis.org

65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90
Offset: 1

Views

Author

Omar E. Pol, Aug 17 2007

Keywords

Comments

ASCII: American Standard Code for Information Interchange.

Examples

			A is code 65, B is code 66, Z is code 90.
		

Crossrefs

Programs

  • Mathematica
    ToCharacterCode[CharacterRange["A","Z"]]//Flatten (* Harvey P. Dale, Oct 02 2022 *)

Formula

a(n)=64+n, 0

A130765 ASCII codes for lower case letters.

Original entry on oeis.org

97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122
Offset: 1

Author

Omar E. Pol, Aug 17 2007

Comments

ASCII: American Standard Code for Information Interchange.

Examples

			b is code 98, z is code 122.
		

Crossrefs

Formula

a(n) = 96 + n, 0 < n < 27.
Showing 1-3 of 3 results.