Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
1234 is the smallest whole number that contains the digits 1 through 4 in decimal.
The sum of the base-ten digits of 1234 forms the fourth triangular number (10). 1234 is more specifically the fourth member of the "Triangle of the gods" sequence, obtained by concatenating decimal representations of positive integers. It is also the fifth member of a related integer sequence, obtained from the recurrence relation starting from and ; both this sequence and the aforementioned sequence begin in the same way, yet they diverge around their tenth positions.
Because it is not divisible by 4, 1234 is the first number in these sequences that is not divisible by its final digit.
Integer partitions
1234 is the number of integer partitions of 24 without all distinct multiplicities, as well as the number of partitions of 24 into parts that are prime or semiprime. 1234 is the number of "colored" integer partitions of 12 such that four colors are used and parts differ by size, or by color. It is the number of partitions of 33 = 1089 into exactly four prime numbers.
Regarding the fourth non-zero decimal repdigit44, 1234 is its number of strict partitions containing the sum of some subset of the parts (as a variation of, sum-full strict partitions), as well as the number of partitions of 44 into parts with an odd number of prime divisors (counted with multiplicity).
Binary strings
1234 is the number of "straight" binary strings of length 22 (i.e., the simplest way of representing quantities with binary numbers), equivalently the number of finite Sturmian words of length 22.
T-Toothpick sequence (with three equal-sized line segments in T shape) after 32, 33 steps (top), and 49, 50 steps (bottom); respectively. Blue toothpicks represent toothpicks added at that step.
In a variation of the traditional Toothpick sequence, "T-toothpicks" can be formed with three segments of equal length joined at "pivot points" in the shape of a T, which leaves three "endpoints"; these toothpicks are then attached to each other at pivot points with exposed endpoints only (where allowed, see A160172 for further details). A square fractal-like structure in this sequence is generated at steps (5, 9, 17, 33, ...) while another fractal structure with four squares intersecting a larger square at its corners is generated at steps (6, 12, 25, 49, ...). At the thirty-second step, the number of toothpicks is 1234, while at the fiftieth step, the number of toothpicks is 2468, or twice 1234. These represent steps that are one step less than an appearing fractal pattern, and one more (respectively; see image).
Vertex sets
There are exactly 1234 independent vertex sets in a 4 × 4 square grid. This is equivalent with the ways of choosing a subset of positions in a 4 × 4 grid so that no two chosen positions are adjacent horizontally or vertically. For the corresponding problem in one dimension instead of two (choosing points from a sequence with no two adjacent), the number of solutions represents a Fibonacci number.
Notes
It is the 363rd indexed semiprime, or the 352nd semiprime that is discrete.
Pickover, Clifford A. (2011). A Passion for Mathematics: Numbers, Puzzles, Madness, Religion, and the Quest for Reality. Turner Publishing Company. pp. 10–11. ISBN9781118046074.
Parker, Matt (2014). Things to Make and Do in the Fourth Dimension: A Mathematician's Journey Through Narcissistic Numbers, Optimal Dating Algorithms, at Least Two Kinds of Infinity, and More. Macmillan. p. 8. ISBN9780374275655.