Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A166458
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A166458 n*10-(-1)^n is prime. +0
1
1, 2, 3, 6, 7, 8, 13, 14, 15, 18, 19, 20, 21, 24, 25, 27, 31, 33, 36, 38, 42, 43, 44, 48, 49, 50, 57, 60, 62, 63, 66, 69, 72, 74, 75, 77, 81, 84, 86, 91, 92, 97, 99, 102, 103, 104, 105, 109, 115, 117, 123, 126, 128, 129, 132, 140, 144, 145, 146, 147, 150, 151, 153, 156 (list; graph; listen)
OFFSET

1,2

EXAMPLE

if 1*10-(-1)^1=11=prime, then a(1)=1; if 2*10-(-1)^2=19=prime, then a(2)=2; if 3*10-(-1)^3=31=prime, then a(3)=3; if 6*10-(-1)^6=59=prime, then a(4)=6.

CROSSREFS

Cf. A000027, A000040.

Sequence in context: A061885 A138683 A072426 this_sequence A127330 A035346 A066646

Adjacent sequences: A166455 A166456 A166457 this_sequence A166459 A166460 A166461

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Oct 14 2009

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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research