Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126808
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126808 Let p be a prime with decimal expansion abcd...fg. Then p is in the sequence if ab+bc+cd+...+fg is a prime. +0
1
13, 17, 31, 71, 211, 419, 617, 1013, 1021, 1031, 1051, 1151, 1181, 1193, 1201, 1213, 1217, 1231, 1237, 1279, 1291, 1297, 1301, 1303, 1307, 1321, 1327, 1439, 1451, 1493, 1511, 1531, 1543, 1549, 1571, 1579, 1597, 1657, 1709, 1721, 1733, 1811, 1871, 1877 (list; graph; listen)
OFFSET

1,1

FORMULA

Take 1297. 1*2 + 2*9 + 9*7 = 2 + 18 + 63 = 83, a prime.

MATHEMATICA

Select[Prime@Range[300], PrimeQ[Plus @@ Times @@@ Partition[IntegerDigits[ # ], 2, 1]] &] (*Chandler*)

CROSSREFS

Sequence in context: A129338 A138535 A062338 this_sequence A053009 A069485 A109308

Adjacent sequences: A126805 A126806 A126807 this_sequence A126809 A126810 A126811

KEYWORD

nonn,base,easy

AUTHOR

J. M. Bergot (thekingfishb(AT)yahoo.ca), Mar 14 2007

EXTENSIONS

Corrected and extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Mar 16 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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research