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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A031157 Numbers that are both lucky and prime. 9
3, 7, 13, 31, 37, 43, 67, 73, 79, 127, 151, 163, 193, 211, 223, 241, 283, 307, 331, 349, 367, 409, 421, 433, 463, 487, 541, 577, 601, 613, 619, 631, 643, 673, 727, 739, 769, 787, 823, 883, 937, 991, 997, 1009, 1021, 1039, 1087, 1093, 1117, 1123 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

A010051(a(n))*A145649(a(n)) = 1. [From Reinhard Zumkeller (renhard.zumkeller(AT)gmail.com), Oct 19 2008]

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

Wikipedia, Lucky prime

MATHEMATICA

lst = Range[1, 1248, 2]; i = 2; While[ i <= (len = Length@lst) && (k = lst[[i]]) <= len, lst = Drop[lst, {k, len, k}]; i++ ]; Select[lst, PrimeQ@# &] (from Robert G. Wilson v (rgwv(at)rgwv.com), May 12 2006)

CROSSREFS

Cf. A000959.

Sequence in context: A062700 A136060 A023227 * A049488 A136051 A100750

Adjacent sequences:  A031154 A031155 A031156 * A031158 A031159 A031160

KEYWORD

nonn

AUTHOR

Patrick De Geest (pdg(AT)worldofnumbers.com)

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 12 17:21 EST 2012. Contains 205432 sequences.