Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A067526
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A067526 Numbers n such that n - 2^k is a prime or 1 for all k satisfying 0 < k, 2^k < n. +0
6
3, 4, 5, 7, 9, 15, 21, 45, 75, 105 (list; graph; listen)
OFFSET

1,1

COMMENT

Is the sequence finite?

Let n be the next (so far unknown) term. If n>2^(p-1) then p divides n for every odd prime p. This yields, with some extra testing, that n is divisible by the first 1230 odd primes, so n>10^4300. It should be possible to show that there exists an m such that for all n>m the product of the odd primes <=n is greater than 2^(nextprime(n)-1). This would implie that the above sequence is finite. - Sascha Kurz (sascha.kurz(AT)uni-bayreuth.de), Mar 18 2002

EXAMPLE

45 belongs to this sequence as 45- 2, 45-4, 45-8, 45-16, 45-32 etc. i.e. 43, 41,37,29 and 13 are all primes.

MATHEMATICA

f[n_] := Block[{k = 1}, While[2^k < n, k++ ]; k--; k]; Do[ a = Table[n - 2^k, {k, 1, f[n]} ]; If[ a[[ -1]] == 1, a = Drop[a, -1]]; If[ Union[ PrimeQ[a]] == {True}, Print[n]], {n, 5, 10^7, 2} ]

CROSSREFS

Cf. A039669 (n-2^k is prime).

Sequence in context: A082922 A036971 A000702 this_sequence A101760 A165713 A105148

Adjacent sequences: A067523 A067524 A067525 this_sequence A067527 A067528 A067529

KEYWORD

easy,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Feb 17 2002

EXTENSIONS

Edited by Robert G. Wilson v (rgwv(AT)rgwv.com), Feb 18 2002

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 November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research