Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A105049
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A105049
%S A105049 2,3,5,7,11,13,19,23,17,41,29,43,67,71,149,73,31,37,89,53,47,127,97,131,
%T A105049 107,59,137,101,223,163,241,79,139,103,61,577,311,151,269,173,211,167,
%U A105049 109,191,239,521,233,83,383,337,271,827,449,443,229,157,179,283,293,277
%N A105049 a(n) is the smallest prime p such that p+n! is prime and p differs from 
               all a(i), i<n.
%C A105049 A variant of A130807.
%C A105049 If the requirement is dropped that a(n) be distinct from earlier primes 
               in the list, the sequence becomes 2, 3, 5, 5, 7, 7, 11, 23, 17, 11, 
               17, 29, 67, 19, 43, 23, 31, 37, 89,.. which presumably duplicates 
               A037153.
%p A105049 A105049 := proc(nmin) local i,a,iused; a := [] ; iused := {} ; for n 
               from 1 to nmin do i := 1; while not isprime(ithprime(i)+n!) or i 
               in iused do i := i+1 ; od; iused := iused union {i} ; a := [op(a),
               ithprime(i)] ; od ; RETURN(a) ; end: A105049(80);
%Y A105049 Sequence in context: A003681 A029732 A037950 this_sequence A057447 A095074 
               A042987
%Y A105049 Adjacent sequences: A105046 A105047 A105048 this_sequence A105050 A105051 
               A105052
%K A105049 nonn
%O A105049 1,1
%A A105049 R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 22 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 November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research