Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117405
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117405 Semiprime nearest to 2^n. (In case of a tie, choose the smaller). +0
6
4, 4, 4, 9, 14, 33, 65, 129, 254, 511, 1027, 2047, 4097, 8193, 16382, 32765, 65531, 131073, 262142, 524289, 1048577 (list; graph; listen)
OFFSET

0,1

COMMENT

Semiprime analogue of A117387 Prime nearest to 2^n. (In case of a tie, choose the smaller). After n=2, never again is a(n) a power of 2.

FORMULA

a(n) = 2^n + A117406(n).

EXAMPLE

a(0) = 4 because 2^0 + 3 = 4 = A001358(1) and no semiprime is closer to 2^0.

a(1) = 4 because 2^1 + 2 = 4 = A001358(1) and no semiprime is closer to 2^1.

a(2) = 4 because 2^2 + 0 = 4 = A001358(1) and no semiprime is closer to 2^2.

a(3) = 9 because 2^3 + 1 = 9 = 3^2 = A001358(3), no semiprime is closer to 2^3.

a(4) = 14 because 2^4 - 2 = 14 = 2 * 7 = A001358(5), no semiprime is closer.

a(5) = 33 because 2^5 + 1 = 33 = 3 * 11 and no semiprime is closer to 2^5.

a(6) = 65 because 2^6 + 1 = 65 = 5 * 13 and no semiprime is closer to 2^6.

a(7) = 129 because 2^7 + 1 = 129 = 3 * 43 and no semiprime is closer to 2^7.

a(8) = 254 because 2^8 - 2 = 254 = 2 * 127 and no semiprime is closer to 2^8.

CROSSREFS

Cf. A000079, A001358, A117387, A117406.

Sequence in context: A065734 A048761 A075561 this_sequence A013601 A035618 A151906

Adjacent sequences: A117402 A117403 A117404 this_sequence A117406 A117407 A117408

KEYWORD

easy,nonn,less

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Mar 13 2006

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 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research