login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
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; refs; listen; history; internal format)
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: A176882 A159614 A158087 * A053009 A069485 A174056

Adjacent sequences:  A126805 A126806 A126807 * 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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 09:00 EST 2012. Contains 205904 sequences.