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!)
A257313 a(1) = 10; a(2) = 11; for n > 2, a(n) is the smallest number of the form prime + 8 not already used which shares a factor with a(n-1). 5
10, 11, 55, 15, 21, 27, 39, 13, 91, 49, 105, 25, 45, 51, 69, 75, 81, 87, 111, 37, 259, 147, 117, 135, 115, 145, 165, 121, 187, 231, 159, 171, 19, 247, 285, 175, 189, 201, 67, 469, 301, 315, 205, 235, 265, 325, 345, 207, 219, 237, 79, 1027, 429, 249, 279, 31 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Analog of EKG-sequence (A064413) on the numbers of the form prime + 8.
Conjecture: the sequence {a(n)-8} is a permutation of primes (A000040).
LINKS
MATHEMATICA
f[n_] := Block[{o = 2^3, s, p, k}, s = {o + 2, o + 3}; For[k = 3, k <= n, k++, p = 2; While[GCD[p + o, s[[k - 1]]] == 1 || MemberQ[s, p + o], p = NextPrime@ p]; AppendTo[s, p + o]]; s]; f@ 56 (* Michael De Vlieger, Apr 20 2015 *)
CROSSREFS
Sequence in context: A344082 A042413 A041212 * A335553 A122602 A037958
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Apr 20 2015
EXTENSIONS
More terms from Peter J. C. Moses, Apr 20 2015
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 September 3 22:09 EDT 2024. Contains 375675 sequences. (Running on oeis4.)