A338451 a(n) is the least positive number that does not appear among the first n terms of A338338.
2, 3, 3, 3, 5, 5, 7, 7, 7, 7, 11, 11, 11, 11, 11, 11, 11, 11, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 17, 17, 17, 17, 17, 19, 19, 19, 19, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 29
Offset: 1
Keywords
Examples
For n = 3: - A338338(1) = 1, - A338338(2) = 2, - A338338(3) = 4, - the number 3 is the least missing number, - so a(3) = 3.
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10000
- Rémy Sigrist, C program for A338451
Programs
-
C
/* See Links section. */
Comments