login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089691 a={1,3,7,9} a1={1,3,7,9,0} b[n]=Flatten[Table[10*Sum[10^m*a1[[1+Mod[m,5]]],{m,0,n}]+a,{n,0,digits}]]; a(m) = if b[n] is prime then b[n] 0
11, 13, 17, 19, 311, 313, 317, 31097317, 731097313, 109731097319, 73109731097317, 7310973109731097319, 10973109731097310973109731097310973109731097317, 31097310973109731097310973109731097310973109731097317 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A sum and digit set based prime generator function.
LINKS
MATHEMATICA
a={1, 3, 7, 9} a1={1, 3, 7, 9, 0} digits=100 b=Flatten[Table[10*Sum[10^m*a1[[1+Mod[m, 5]]], {m, 0, n}]+a, {n, 0, digits}]]; d=Delete[Union[c], 1]
CROSSREFS
Sequence in context: A240899 A090149 A337834 * A036979 A036977 A120168
KEYWORD
nonn,base,less
AUTHOR
Roger L. Bagula, Jan 05 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)