login
The OEIS is supported by the many generous donors to the OEIS 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
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: A214518 A331866 A242401 * A299232 A153083 A140592
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:23 EDT 2024. Contains 371906 sequences. (Running on oeis4.)