Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A090464
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A090464 Smallest number m such that n followed by m sevens yields a prime or -1 if no solution exists or has been found for n. +0
3
1, 0, 0, 1, 0, 1, 0, 2, 1, 1, 0, 1, 0, -1, 1, 1, 0, 2, 0, 6, -1, 1, 0, 2, 1, 2, 1, -1, 0, 1, 0, 5, 1, 1, -1, 1, 0, 2, 1, 12, 0, -1, 0, 3, 1, 1, 0, 1, -1, 2, 8, 7, 0, 1, 1, -1, 1, 1, 0, 1, 0, 2, -1, 1, 2, 5, 0, 3, 2, -1, 0, 1, 0, 2, 1, 3, -1, 1, 0, 3, 4, 1, 0, -1, 1, 2, 1, 1, 0, 1, -1, 2, 1, 1 (list; graph; listen)
OFFSET

1,8

COMMENT

a(n) = 0 if n is already prime. a(n) = -1 for n = any multiple of 7 other than 7 itself. Each multiple of 7 has been tested out to 2000 7's with no result found. The first eight values of n which are not multiples of 7 for which no answer has yet been found are 95, 480, 851, 891, 957, 1184, 1261, 1881. 95 has been tested out to 2100 7's, 1881 has been tested out to 1750 7's, the others have been tested out to 2000 7's. Pending solutions for these values of n, the first 10 record holders are currently 1, 8, 20, 40, 120, 128, 225, 260, 296, 711 with the values 1, 2, 6, 12, 16, 18, 56, 182, 434, 1648 respectively.

EXAMPLE

a(20)=6 because six 7's must be appended to 20 before a prime is formed (20777777). a(14) = -1 because no matter how many 7's are appended to 14, the resulting number is always divisible by 7 and can therefore not be prime.

CROSSREFS

Cf. A083747 (The Wilde Primes, i.e. same operation using ones), A090465 (using nines), A090584 (using threes).

Sequence in context: A117208 A133300 A144451 this_sequence A044934 A124761 A156709

Adjacent sequences: A090461 A090462 A090463 this_sequence A090465 A090466 A090467

KEYWORD

base,sign

AUTHOR

Chuck Seggelin (barkeep(AT)plastereddragon.com), Dec 02 2003

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 19 12:50 EST 2009. Contains 171053 sequences.


AT&T Labs Research