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!)
A352774 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that has not appeared that does not share a factor with a(n-2) + a(n-1) or a(n-2)*a(n-1). 7
1, 2, 5, 3, 7, 11, 13, 17, 19, 23, 25, 29, 31, 37, 9, 35, 41, 27, 43, 47, 49, 53, 55, 59, 61, 67, 15, 71, 73, 65, 77, 51, 79, 83, 85, 89, 91, 97, 33, 101, 95, 39, 103, 107, 109, 113, 115, 119, 121, 127, 21, 125, 131, 57, 137, 139, 133, 45, 143, 149, 63, 145, 151, 69, 157, 155, 161, 81, 163, 167 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
As a(2) is even, which forces a(3) and a(4) to be odd, all following terms will be odd as the sum of two odd terms is even. Beyond a(5) = 7 all subsequent primes appear in their natural order.
LINKS
Scott R. Shannon, Image of the first 5000 terms. The green line is y = n.
EXAMPLE
a(2) = 5 as a(1) + a(2) = 3, a(1)*a(2) = 2, and 5 is the smallest unused number that does not share a factor with 3 or 2.
CROSSREFS
Sequence in context: A159016 A289108 A246364 * A083190 A171026 A064359
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Apr 02 2022
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 May 10 06:43 EDT 2024. Contains 372358 sequences. (Running on oeis4.)