Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126638
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126638 a(n) is larger than a(n-1), not prime and coprime to a(n-1) and a(n-2). +0
1
4, 9, 25, 26, 27, 35, 38, 39, 49, 50, 51, 77, 80, 81, 91, 92, 93, 95, 98, 99, 115, 116, 117, 119, 121, 122, 123, 125, 128, 129, 133, 134, 135, 143, 146, 147, 155, 158, 159, 161, 164, 165, 169, 172, 175, 177, 178, 185, 187, 188, 189, 205, 206, 207, 209, 212, 213 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(7) = 38 bacause it is the next composite number larger than 35 (a(6)) that shares no factors in common with 35 and 27 (a(5)).

MAPLE

with(numtheory); i:=4; j:=9; k:=10; while(k < 100) do while(order(k, i) = FAIL or order(k, j) = FAIL or isprime(k)) do k:=k+1; end do; print(k); i:= j; j:=k; k:=k+1; end do;

MATHEMATICA

f[l_List] := Block[{k = l[[ -1]] + 1}, While[PrimeQ[k] || GCD[k, l[[ -1]]*l[[ -2]]] > 1, k++ ]; Append[l, k]]; Nest[f, {4, 9}, 56] (*Chandler*)

CROSSREFS

Cf. A051884.

Sequence in context: A131826 A051961 A093867 this_sequence A073045 A045967 A163836

Adjacent sequences: A126635 A126636 A126637 this_sequence A126639 A126640 A126641

KEYWORD

nonn

AUTHOR

Ben Thurston (benthurston27(AT)yahoo.com), Feb 08 2007

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Feb 14 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 18 21:37 EST 2009. Contains 171024 sequences.


AT&T Labs Research