Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096069
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096069 Smallest prime ending in prime(n) and == 1 (mod prime(n)), or 0 if no such prime exists. +0
1
0, 13, 0, 127, 2311, 313, 4217, 419, 21023, 929, 13331, 30637, 5741, 16943, 10247, 15053, 3659, 21961, 13267, 12071, 4673, 22279, 4483, 43789, 25997, 414101, 24103, 188107, 132109, 93113, 373127, 816131, 264137, 798139, 693149, 400151, 582157 (list; graph; listen)
OFFSET

1,2

COMMENT

a(1) = a(3) = 0. Conjecture: No other term is zero.

I checked all n's <1450 with each having the required prime form. - Robert G. Wilson v Jun 22 2004

EXAMPLE

a(6) = 1613 is a prime and 1613 ==1 mod (13), prime(6) = 13.

MATHEMATICA

f[n_] := Block[{k = 1, l = Floor[ Log[10, Prime[n]] + 1], p = Prime[n]}, If[n == 1 || n == 3, 0, While[ !PrimeQ[k*10^l + p] || Mod[k*10^l + p, p] != 1, k++ ]; k*10^l + p]]; Table[ f[n], {n, 37}] (from Robert G. Wilson v Jun 22 2004)

CROSSREFS

Sequence in context: A065112 A114783 A094902 this_sequence A165400 A010227 A010228

Adjacent sequences: A096066 A096067 A096068 this_sequence A096070 A096071 A096072

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 20 2004

EXTENSIONS

Edited, corrected and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 22 2004

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 20 00:58 EST 2009. Contains 171054 sequences.


AT&T Labs Research