Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A133661
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A133661 No sum of 2 or more terms equals a prime, terms alternate parity and there are no primes in the list. +0
3
1, 8, 25, 86, 209, 472, 25719, 238350, 41931245, 14426603100 (list; graph; listen)
OFFSET

1,2

COMMENT

a(10) > 263811880. - Robert G. Wilson v (rgwv(AT)rgwv.com), Jan 01 2008

EXAMPLE

25 is a term, because 25 is odd (previous term was even), 25 is composite, and 25+1, 25+8 and 25+8+1 are all composite.

MATHEMATICA

(* first do *) Needs["Combinatorica`"] (* then *) lst = {1, 8}; g[k_] := Block[{j = 1, l = 2^Length@lst}, While[j < l && !PrimeQ[Plus @@ NthSubset[j, lst] + k], j++ ]; If[j == l, False, True]]; f[n_] := Block[{k = lst[[ -1]] + 1}, While[PrimeQ@k || g[k] == True, k++; k++ ]; AppendTo[lst, k]; k]; Do[ Print@ f@ n, {n, 10}] - Robert G. Wilson v (rgwv(AT)rgwv.com), Jan 01 2008

CROSSREFS

Cf. A052349, A133660.

Adjacent sequences: A133658 A133659 A133660 this_sequence A133662 A133663 A133664

Sequence in context: A035073 A041120 A042637 this_sequence A139026 A135942 A068315

KEYWORD

more,nonn

AUTHOR

Randy L. Ekl (Randy.Ekl(AT)Motorola.com), Dec 28 2007

EXTENSIONS

a(9) from Robert G. Wilson v (rgwv(AT)rgwv.com), Jan 01 2008

a(10) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Feb 15 2008

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 October 11 09:12 EDT 2008. Contains 144832 sequences.


AT&T Labs Research