The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A062091 a(1) = 2, a(n)= smallest even number which does not divide the product of all previous terms. 3
 2, 4, 6, 10, 14, 18, 22, 26, 34, 38, 46, 50, 58, 62, 74, 82, 86, 94, 98, 106, 118, 122, 134, 142, 146, 158, 162, 166, 178, 194, 202, 206, 214, 218, 226, 242, 254, 262, 274, 278, 298, 302, 314, 326, 334, 338, 346, 358, 362, 382, 386, 394, 398, 422, 446, 454 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Michael De Vlieger, Table of n, a(n) for n = 1..10000 FORMULA 2 and 4 together with numbers of the form 2*{p^(2^k)} where p is an odd prime and k is a nonnegative integer. [Corrected by Peter Munn, Nov 03 2020] EXAMPLE After 10 the next term in the sequence is 14 (not 12) as 12 = 2*6 divides the product of all the previous terms. MATHEMATICA Block[{a = {2}, k = 4, P = 1}, Do[Set[P, P*a[[-1]]]; While[Mod[P, k] == 0, k += 2]; AppendTo[a, k], {i, 2, 56}]; a] (* Michael De Vlieger, Nov 04 2020 *) CROSSREFS Cf. A026477, A062090. Sequence in context: A288526 A139544 A356959 * A100143 A234941 A303744 Adjacent sequences: A062088 A062089 A062090 * A062092 A062093 A062094 KEYWORD nonn AUTHOR Amarnath Murthy, Jun 16 2001 EXTENSIONS More terms from Dean Hickerson, Jul 10 2001 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.

Last modified June 6 15:49 EDT 2023. Contains 363148 sequences. (Running on oeis4.)