login
A253593
a(n) is the largest of the first n terms in A098550 for which the numbers 1 to a(n) are a subset, pretending all primes present.
2
1, 2, 3, 4, 4, 4, 4, 4, 5, 9, 9, 9, 9, 9, 9, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 22, 22, 28, 28, 28, 28, 28, 28, 36, 36, 39, 39, 39, 39, 39, 39, 39, 45, 45, 45, 45, 45, 45, 45, 45, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52
OFFSET
1,2
EXAMPLE
a(9) = 5 because the first 9 terms in A098550 are {1, 2, 3, 4, 9, 8, 15, 14, 5}, and {1, 2, 3, 4, 5} is a subset.
a(10) = 9 because the first 10 terms in A098550 are {1, 2, 3, 4, 9, 8, 15, 14, 5, 6}; and pretending that prime 7 is present, {1, 2, 3, 4, 5, 6, 7, 8, 9} is a subset.
CROSSREFS
Sequence in context: A029117 A308547 A195850 * A174901 A308411 A087848
KEYWORD
nonn,easy
AUTHOR
Bob Selcoe, Jan 04 2015
EXTENSIONS
Name improved and 2 terms corrected by Hans Havermann, Jan 06 2015
STATUS
approved