login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A050941 Numbers that are not the sum of consecutive triangular numbers. 4
2, 5, 7, 8, 11, 12, 13, 14, 17, 18, 22, 23, 24, 26, 27, 29, 30, 32, 33, 37, 38, 39, 40, 41, 42, 43, 44, 47, 48, 50, 51, 53, 54, 57, 58, 59, 60, 61, 62, 63, 65, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 79, 82, 86, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Numbers that are not the difference of two tetrahedral numbers. - Franklin T. Adams-Watters, Dec 16 2015

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

MATHEMATICA

lim = 20; Take[#, Floor[Length[#]/lim]] &@ Complement[Range@ Max@ #, #] &@ Union[Subtract @@@ Map[Sort[#, Greater] &, Permutations[Table[Binomial[n + 2, 3], {n, 0, lim}], {2}]]] (* Michael De Vlieger, Dec 17 2015, in part after Zerinvary Lajos at A000292 *)

PROG

(Haskell)

import Data.List.Ordered (minus)

a050941 n = a050941_list !! (n-1)

a050941_list = minus [0..] a034706_list

-- Reinhard Zumkeller, May 12 2015

CROSSREFS

Complement of A034706.

Sequence in context: A160530 A214518 A242401 * A299232 A153083 A140592

Adjacent sequences:  A050938 A050939 A050940 * A050942 A050943 A050944

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Jan 02 2000

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 28 10:02 EST 2020. Contains 331319 sequences. (Running on oeis4.)