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.

Previous Showing 11-17 of 17 results.

A002859 a(1) = 1, a(2) = 3; for n >= 3, a(n) is smallest number that is uniquely of the form a(j) + a(k) with 1 <= j < k < n.

Original entry on oeis.org

1, 3, 4, 5, 6, 8, 10, 12, 17, 21, 23, 28, 32, 34, 39, 43, 48, 52, 54, 59, 63, 68, 72, 74, 79, 83, 98, 99, 101, 110, 114, 121, 125, 132, 136, 139, 143, 145, 152, 161, 165, 172, 176, 187, 192, 196, 201, 205, 212, 216, 223, 227, 232, 234, 236, 243, 247, 252, 256, 258
Offset: 1

Views

Author

Keywords

Comments

An Ulam-type sequence - see A002858 for many further references, comments, etc.

Examples

			7 is missing since 7 = 1 + 6 = 3 + 4; but 8 is present since 8 = 3 + 5 has a unique representation.
		

References

  • S. R. Finch, Mathematical Constants, Cambridge, 2003, pp. 145-151.
  • R. K. Guy, Unsolved Problems in Number Theory, Section C4.
  • R. K. Guy, "s-Additive sequences," preprint, 1994.
  • C. Pickover, Mazes for the Mind, St. Martin's Press, NY, 1992, p. 358.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • S. M. Ulam, Problems in Modern Mathematics, Wiley, NY, 1960, p. ix.

Crossrefs

Cf. A002858 (version beginning 1,2), A199118, A199119.

Programs

  • Haskell
    a002859 n = a002859_list !! (n-1)
    a002859_list = 1 : 3 : ulam 2 3 a002859_list
    -- Function ulam as defined in A002858.
    -- Reinhard Zumkeller, Nov 03 2011
  • Mathematica
    s = {1, 3}; Do[ AppendTo[s, n = Last[s]; While[n++; Length[ DeleteCases[ Intersection[s, n-s], n/2, 1, 1]] != 2]; n], {60}]; s (* Jean-François Alcover, Oct 20 2011 *)

A001857 a(1)=2, a(2)=3; for n >= 3, a(n) is smallest number that is uniquely of the form a(j) + a(k) with 1 <= j < k < n.

Original entry on oeis.org

2, 3, 5, 7, 8, 9, 13, 14, 18, 19, 24, 25, 29, 30, 35, 36, 40, 41, 46, 51, 56, 63, 68, 72, 73, 78, 79, 83, 84, 89, 94, 115, 117, 126, 153, 160, 165, 169, 170, 175, 176, 181, 186, 191, 212, 214, 230, 235, 240, 245, 266, 273, 278, 283, 288, 325, 331, 332, 337, 342
Offset: 1

Views

Author

Keywords

Comments

An Ulam-type sequence - see A002858 for many further references, comments, etc.
A plot of the first 10^6 terms shows a nearly straight line having a slope of about 11.1. In contrast to A002858, this sequence has many consecutive numbers; of the first 10^6 terms, consecutive numbers appear 141674 times! - T. D. Noe, Jan 21 2008

References

  • S. R. Finch, Patterns in 1-additive sequences, Experimental Mathematics 1 (1992), 57-63.
  • S. R. Finch, Mathematical Constants, Cambridge, 2003, pp. 145-151.
  • R. K. Guy, Unsolved Problems in Number Theory, Section C4.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • S. M. Ulam, Problems in Modern Mathematics, Wiley, NY, 1960, p. ix.

Crossrefs

Programs

  • Haskell
    a001857 n = a001857_list !! (n-1)
    a001857_list = 2 : 3 : ulam 2 3 a001857_list
    -- Function ulam as defined in A002858.
    -- Reinhard Zumkeller, Nov 03 2011
  • Mathematica
    s = {2, 3}; Do[ AppendTo[s, n = Last[s]; While[n++; Length[ DeleteCases[ Intersection[s, n-s], n/2, 1, 1]] != 2]; n], {100}]; s (* Jean-François Alcover, Sep 08 2011 *)

Extensions

More terms from Jud McCranie

A060529 A list of equal temperaments (equal divisions of the octave) whose nearest scale steps are closer and closer approximations to the ratios of three complementary pairs of simple musical tones: 7/6 and 12/7, 6/5 and 5/3 and 7/5 and 10/7.

Original entry on oeis.org

1, 2, 3, 4, 12, 14, 15, 18, 19, 23, 27, 45, 68, 72, 99, 171, 346, 445, 517, 616, 688, 787, 1133, 1304, 3912, 7136, 8440, 9744, 11048, 12352, 18355, 19659, 20963, 22267, 26795, 28099, 29403, 30707, 40451, 41755, 69854, 71158, 72462, 143620, 216082
Offset: 1

Views

Author

Mark William Rankin (MarkRankin95511(AT)Yahoo.com), Apr 12 2001

Keywords

Comments

The sequence was found by a computer search of all of the equal divisions of the octave from 1 to over 216082. The self-accumulating nature of this sequence fails once, between the fourth and fifth terms. The sequence therefore does not meet the rigorous definition of 'impeccable' recurrence. The otherwise perfect recurrence in this sequence is of the type seen in sequences A054540, A060526 and A060527. The numerical value of each term represents a musical scale based on an equal division of the octave. 12, for example, signifies the scale which is formed by dividing the octave into 12 equal parts.

Crossrefs

A001463 Partial sums of A001462; also a(n) is the last occurrence of n in A001462.

Original entry on oeis.org

1, 3, 5, 8, 11, 15, 19, 23, 28, 33, 38, 44, 50, 56, 62, 69, 76, 83, 90, 98, 106, 114, 122, 131, 140, 149, 158, 167, 177, 187, 197, 207, 217, 228, 239, 250, 261, 272, 284, 296, 308, 320, 332, 344, 357, 370, 383, 396, 409, 422, 436, 450, 464, 478, 492, 506, 521, 536, 551, 566, 581, 596
Offset: 1

Views

Author

Keywords

Comments

Vardi gives several identities satisfied by A001463 and this sequence.

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Programs

Formula

a(n) is asymptotic to tau^(1-tau)*n^tau where tau is the golden ratio, tau=(1+sqrt(5))/2. More precisely, a(n)= tau^(1-tau)*n^tau + c*n^(1/tau)+0(n^(1/tau)) where c is a constant around 0.6. Is there any known value for c? - Benoit Cloitre, Oct 29 2002

A060233 A list of equal temperaments (equal divisions of the octave) whose nearest scale steps are closer and closer approximations to six complementary pairs of ratios which generate simple musical tones (scale steps): 8/7 and 7/4, 6/5 and 5/3, 16/13 and 13/8, 5/4 and 8/5, 4/3 and 3/2 and 11/8 and 16/11.

Original entry on oeis.org

1, 2, 3, 4, 6, 7, 9, 10, 15, 19, 22, 24, 26, 31, 37, 41, 46, 50, 53, 72, 84, 87, 130, 137, 140, 171, 183, 217, 224, 270, 494, 764, 851, 1038, 1282, 1308, 1578, 2190, 2684, 3395, 4843, 5004, 5585, 6079, 8269, 14124, 14618, 17302, 20203, 22887, 31737
Offset: 1

Views

Author

Mark William Rankin (MarkRankin95511(AT)Yahoo.com), Apr 14 2001

Keywords

Comments

The sequence was found by a computer search of all the equal divisions of the octave from 1 to over 31737. The numerical value of each term represents a musical scale based on an equal division of the octave. 19, for example, signifies the scale which is formed by dividing the octave into 19 equal parts.

Examples

			6 = 4 + the previous term 2. Again, 48545 = 46625 + the previous terms (1578 + 270 + 72).
		

Crossrefs

Formula

Recurrence: The next term equals the current term plus one or more of the previous terms: a(n+1) = a(n) + a(n-x)... + a(n-y)... + a(n-z), etc.

A001856 A self-generating sequence: every positive integer occurs as a(i)-a(j) for a unique pair i,j.

Original entry on oeis.org

1, 2, 4, 8, 16, 21, 42, 51, 102, 112, 224, 235, 470, 486, 972, 990, 1980, 2002, 4004, 4027, 8054, 8078, 16156, 16181, 32362, 32389, 64778, 64806, 129612, 129641, 259282, 259313, 518626, 518658, 1037316, 1037349, 2074698, 2074734, 4149468
Offset: 1

Views

Author

Keywords

Comments

This is a B_2 sequence. More economical recursion: a(1)=1, a(2n)=2a(2n-1), a(2n+1)=a(2n)+r(n), where r(n) is the smallest positive integer not of the form a(j)-a(i) with 1<=iA247556. - Thomas Ordowski, Sep 28 2014

References

  • R. K. Guy, Unsolved Problems in Number Theory, E25.
  • W. Sierpiński, Elementary Theory of Numbers. Państ. Wydaw. Nauk., Warsaw, 1964, p. 444.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Mathematica
    a[1] = 1; a[2] = 2; a[n_?OddQ] := a[n] = 2*a[n-1]; a[n_?EvenQ] := a[n] = a[n-1] + r[(n-2)/2]; r[n_] := ( diff = Table[a[j] - a[i], {i, 1, 2*n+1}, {j, i+1, 2*n+1}] // Flatten // Union; max = diff // Last; notDiff = Complement[Range[max], diff]; If[notDiff == {}, max+1, notDiff // First]); Table[a[n], {n, 1, 39}] (* Jean-François Alcover, Dec 31 2012 *)

Formula

a(1)=1, a(2)=2, a(2n+1) = 2a(2n), a(2n+2) = a(2n+1) + r(n), where r(n) = smallest positive number not of form a(j) - a(i) with 1 <= i < j <= 2n+1.

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), Sep 14 2000

A061416 A list of equal temperaments (equal divisions of the octave) whose nearest scale steps are closer and closer approximations to the pair of ratios 11/8 and 16/11 which generate two complementary musical tones.

Original entry on oeis.org

1, 2, 6, 7, 9, 11, 13, 24, 37, 505, 542, 579, 616, 653, 690, 727, 764, 801, 838, 875, 912, 949, 986, 1935, 2921, 4856, 11647, 16503, 148527, 181533, 214539, 219395, 235898, 252401, 268904, 285407, 301910, 318413, 334916, 351419, 367922, 384425
Offset: 1

Views

Author

Mark William Rankin (MarkRankin95511(AT)Yahoo.com), May 02 2001

Keywords

Comments

The sequence was found by a computer search of all the equal divisions of the octave from 1 to 384425. The numerical value of each term represents a musical scale based on an equal division of the octave. 24, for example, signifies the scale of quartertones which is formed by dividing the octave into 24 equal parts. The recurrence in this sequence breaks down three times, between the 2nd and 3rd terms, between the 9th and 10th terms and between the 28th and 29th terms, but the sequence is of interest because shows the terms generated when this pair of target ratios stands alone. Later, in other sequences, this pair of target ratios will appear in combination with other pairs of target ratios, resulting in new, different, composite sequences. The examples of proper recurrence which do occur in this sequence are of the same type as is seen in sequences A054540, A060526, A060527, A060529 and A060233.

Crossrefs

Previous Showing 11-17 of 17 results.