# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a004137 Showing 1-1 of 1 %I A004137 M2526 #97 Oct 14 2023 23:46:31 %S A004137 0,1,3,6,9,13,17,23,29,36,43,50,58,68,79,90,101,112,123,138,153,168, %T A004137 183,198,213,232 %N A004137 Maximal number of edges in a graceful graph on n nodes. %C A004137 A graph with e edges is "graceful" if its nodes can be labeled with distinct integers in {0,1,...,e} so that, if each edge is labeled with the absolute difference between the labels of its endpoints, then the e edges have the distinct labels 1, 2, ..., e. %C A004137 Equivalently, maximum m for which there's a restricted difference basis with respect to m with n elements. A "difference basis w.r.t. m" is a set of integers such that every integer from 1 to m is a difference between two elements of the set. A "restricted" difference basis is one in which the smallest element is 0 and the largest is m. %C A004137 a(n) is also the length of an optimal ruler with n marks. For definitions see A103294. For example, a(6)=13 is the length of the optimal rulers with 6 marks, {[0, 1, 6, 9, 11, 13], [0, 2, 4, 7, 12, 13], [0, 1, 4, 5, 11, 13], [0, 2, 8, 9, 12, 13], [0, 1, 2, 6, 10, 13], [0, 3, 7, 11, 12, 13]}. Also n = 1 + A103298(a(n)). - _Peter Luschny_, Feb 28 2005 %C A004137 If the conjecture is true that an optimal ruler with more than 12 segments is a Wichmann ruler then the sequence continues 232, 251, 270, 289, 308, 327, ... - _Peter Luschny_, Oct 09 2011 [updated to take the verifications of Robison into account, Oct 01 2015] %D A004137 J.-C. Bermond, Graceful graphs, radio antennae and French windmills, pp. 18-37 of R. J. Wilson, editor, Graph Theory and Combinatorics. Pitman, London, 1978. %D A004137 R. K. Guy, Modular difference sets and error correcting codes. in: Unsolved Problems in Number Theory, 3rd ed. New York: Springer-Verlag, chapter C10, (2004), 181-183. %D A004137 J. C. P. Miller, Difference bases: Three problems in additive number theory, pp. 299-322 of A. O. L. Atkin and B. J. Birch, editors, Computers in Number Theory. Academic Press, NY, 1971. %D A004137 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence). %H A004137 D. Beutner and H. Harborth, Graceful labelings of Nearly Complete Graphs, Results Math. 41 (2002) 34-39. %H A004137 G. S. Bloom and S. W. Golomb, Applications of numbered undirected graphs, Proc. IEEE 65 (1977), 562-570. %H A004137 G. S. Bloom and S. W. Golomb, Numbered complete graphs, unusual rulers, and assorted applications, Theory and Applications of Graphs, Lecture Notes in Math. 642, (1978), 53-65. %H A004137 L. Egidi and G. Manzini, Spaced seeds design using perfect rulers, Tech. Rep. CS Department Universita del Piemonte Orientale, June 2011. %H A004137 P. Erdős, A survey of problems in combinatorial number theory, Ann. Discrete Math. 6 (1980), 89-115. %H A004137 P. Erdős and R. Freud, On sums of a Sidon-sequence, J. Number Theory 38 (1991), 196-205. %H A004137 P. Erdős and P. Turán, On a problem of Sidon in additive number theory, and on some related problems, J. Lond. Math. Soc. 16 (1941), 212-215. %H A004137 J. Leech, On the representation of 1, 2, ..., n by differences, J. Lond. Math. Soc. 31 (1956), 160-169. %H A004137 S. Lou and Q. Yao, A Chebyshev's type of prime number theorem in a short interval II, Hardy-Ramanujan J. 15 (1992), 1-33. %H A004137 Peter Luschny, Perfect Rulers. %H A004137 Peter Luschny, Wichmann Rulers. %H A004137 Klaus Nagel, Evaluation of perfect rulers C program. %H A004137 O. Pikhurko, Dense edge-magic graphs and thin additive bases, Discrete Math. 306 (2006), 2097-2107. %H A004137 O. Pikhurko and T. Schoen, Integer Sets Having the Maximum Number of Distinct Differences, Integers: Electronic journal of combinatorial number theory 7 (2007). %H A004137 I. Redéi and A. Rényi, On the representation of integers 1, 2, ..., n by differences, Mat. Sbornik 24 (1949), 385-389 (Russian). %H A004137 Arch D. Robison, Parallel Computation of Sparse Rulers, Jan 14 2014. %H A004137 F. Schwartau, Y. Schröder, L. Wolf and J. Schoebel, MRLA search results and source code, Nov 6 2020. %H A004137 F. Schwartau, Y. Schröder, L. Wolf and J. Schoebel, Large Minimum Redundancy Linear Arrays: Systematic Search of Perfect and Optimal Rulers Exploiting Parallel Processing, IEEE Open Journal of Antennas and Propagation, 2 (2021), 79-85. %H A004137 J. Singer, A theorem in finite projective geometry and some applications to number theory, Trans. Amer. Math. Soc. 43 (1938), 377-85. %H A004137 David Singmaster, David Fielker, N. J. A. Sloane, Correspondence, August 1979. %H A004137 M. Wald & N. J. A. Sloane, Correspondence and Attachment, 1987. %H A004137 Eric Weisstein's World of Mathematics, Graceful Graph. %H A004137 B. Wichmann, A note on restricted difference bases, J. Lond. Math. Soc. 38 (1963), 465-466. %H A004137 Al Zimmermann's Programming Contests, Graceful Graphs, September - December 2013. %F A004137 a(n) = n*(n-1)/2 - A212661(n). - _Kellen Myers_, Jun 06 2016 %e A004137 a(7)=17: Label the 7 nodes 0,1,8,11,13,15,17 and include all edges except those from 8 to 15, from 13 to 15, from 13 to 17 and from 15 to 17. {0,1,8,11,13,15,17} is a restricted difference basis w.r.t. 17. %e A004137 a(21)=153 because there exists a complete ruler (i.e., one that can measure every distance between 1 and 153) with marks [0,1,2,3,7,14,21,28,43,58,73,88,103,118,126,134,142,150,151,152,153] and no complete ruler of greater length with the same number of marks can be found. This ruler is of the type described by B. Wichmann and it is conjectured by _Peter Luschny_ that it is impossible to improve upon Wichmann's construction for finding optimal rulers of bigger lengths. %o A004137 (C) See Klaus Nagel link. %o A004137 (Parallel C++) See A. Robison link. %Y A004137 Cf. A046693, A103294, A103298, A103299, A103296, A102508, A212661. %Y A004137 A080060 is an erroneous version of the sequence, given in Bermond's paper. Cf. A005488. %Y A004137 A289761 provides the conjectured continuation. %K A004137 nonn,nice,hard,more %O A004137 1,3 %A A004137 _N. J. A. Sloane_, _Simon Plouffe_ %E A004137 Miller's paper gives these lower bounds for the 8 terms from a(15) to a(22): 79, 90, 101, 112, 123, 138, 153, 168. %E A004137 Edited by _Dean Hickerson_, Jan 26 2003 %E A004137 Terms 79,...,123 from _Peter Luschny_, Feb 28 2005, with verification by an independent program written by _Klaus Nagel_. Using this program _Hugo Pfoertner_ found the next term, 138. %E A004137 Using this program _Hugo Pfoertner_ found further evidence for the conjectured term a(21)=153, Feb 23 2005 %E A004137 Terms a(21) .. a(24) proved by exhaustive search by Arch D. Robison, _Hugo Pfoertner_, Nov 01 2013 %E A004137 Term a(25) proved by exhaustive search by Arch D. Robison, _Peter Luschny_, Jan 14 2014 %E A004137 Term a(26) proved by exhaustive search by Fabian Schwartau, _Yannic Schröder_, Lars Wolf, Joerg Schoebel, Feb 22 2021 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE