Re: Program to find Primes of the form prime(n+2) * prime(n+1) - prime(n) +- 1.

2018-10-02 Thread Martin Musatov
I am drafting a sequence for OEIS.

I was told Python was most accesible for beginners.

On Tue, Oct 2, 2018, 4:48 PM Bob Gailer  wrote:

> On Oct 2, 2018 4:59 PM, "Musatov"  wrote:
> >
> >  Primes of the form prime(n+2) * prime(n+1) - prime(n) +- 1.
> > DATA
> >
> > 31, 71, 73, 137, 211, 311, 419, 421, 647, 877, 1117, 1487, 1979, 2447,
> 3079, 3547, 4027, 7307, 7309, 12211, 14243, 18911, 18913, 23557, 25439,
> 28729, 36683, 37831, 46853, 50411, 53129, 55457, 57367, 60251, 67339,
> 70489, 74797, 89669, 98909, 98911
> >
> > EXAMPLE
> >
> > 7*5 - 3 - 1 = 31
> >
> > 11*7 - 5 - 1 = 71
> >
> > 11*7 - 5 + 1 = 73
> >
> > 13*11 - 7 + 1 = 137
> >
> > Can someone put this in a Python program and post?
>
> It is our policy to not write code at others requests. We are glad to help
> if you've started writing a program and are stuck.
>
> Out of curiosity where does this request come from?
>
> If you want to hire one of us to write the program, in other words pay us
> for our time and expertise, that's a different matter. We would be happy to
> comply.
> > --
> > https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: security quirk

2013-01-30 Thread Martin Musatov
On Jan 29, 8:55 pm, RichD r_delaney2...@yahoo.com wrote:
 I read Wall Street Journal, and occasionally checkNotepadPlus
UserLang name=MUSATOV ext=.myl udlVersion=2.0
Settings
Global caseIgnored=no allowFoldOfComments=no
forceLineCommentsAtBOL=no foldCompact=yes /
Prefix Keywords1=no Keywords2=no Keywords3=no
Keywords4=no Keywords5=no Keywords6=no Keywords7=no
Keywords8=no /
/Settings
KeywordLists
Keywords name=Comments id=000commentBegin 01comment
02commentEnd 03 04/Keywords
Keywords name=Numbers, additional id=1/Keywords
Keywords name=Numbers, prefixes id=2/Keywords
Keywords name=Numbers, extras with prefixes id=3/
Keywords
Keywords name=Numbers, suffixes id=4/Keywords
Keywords name=Operators1 id=5();/Keywords
Keywords name=Operators2 id=6/Keywords
Keywords name=Folders in code1, open id=7Open/
Keywords
Keywords name=Folders in code1, middle id=8middle/
Keywords
Keywords name=Folders in code1, close id=9Close/
Keywords
Keywords name=Folders in code2, open id=10Open/
Keywords
Keywords name=Folders in code2, middle id=11middle/
Keywords
Keywords name=Folders in code2, close id=12Close/
Keywords
Keywords name=Folders in comment, open id=13Open/
Keywords
Keywords name=Folders in comment, middle
id=14middle/Keywords
Keywords name=Folders in comment, close id=15Close/
Keywords
Keywords name=Keywords1 id=16%%/Keywords
Keywords name=Keywords2 id=17/Keywords
Keywords name=Keywords3 id=18/Keywords
Keywords name=Keywords4 id=19/Keywords
Keywords name=Keywords5 id=20/Keywords
Keywords name=Keywords6 id=21/Keywords
Keywords name=Keywords7 id=22/Keywords
Keywords name=Keywords8 id=23/Keywords
Keywords name=Delimiters id=24/Keywords
/KeywordLists
Styles
WordsStyle name=DEFAULT styleID=0 fgColor=FF
bgColor=00 fontName=Monotype Corsiva fontStyle=7
fontSize=14 nesting=0 /
WordsStyle name=COMMENTS styleID=1 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=LINE COMMENTS styleID=2
fgColor=00 bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=NUMBERS styleID=3 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=KEYWORDS1 styleID=4 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=KEYWORDS2 styleID=5 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=KEYWORDS3 styleID=6 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=KEYWORDS4 styleID=7 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=KEYWORDS5 styleID=8 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=KEYWORDS6 styleID=9 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=KEYWORDS7 styleID=10 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=KEYWORDS8 styleID=11 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=OPERATORS styleID=12 fgColor=00
bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=FOLDER IN CODE1 styleID=13
fgColor=FF bgColor=00 fontName= fontStyle=7
fontSize=10 nesting=0 /
WordsStyle name=FOLDER IN CODE2 styleID=14
fgColor=00 bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=FOLDER IN COMMENT styleID=15
fgColor=FF bgColor=00 fontName=Times New Roman
fontStyle=7 fontSize=8 nesting=0 /
WordsStyle name=DELIMITERS1 styleID=16
fgColor=00 bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=DELIMITERS2 styleID=17
fgColor=00 bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=DELIMITERS3 styleID=18
fgColor=00 bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=DELIMITERS4 styleID=19
fgColor=00 bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=DELIMITERS5 styleID=20
fgColor=00 bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=DELIMITERS6 styleID=21
fgColor=00 bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=DELIMITERS7 styleID=22
fgColor=00 bgColor=FF fontStyle=0 nesting=0 /
WordsStyle name=DELIMITERS8 styleID=23
fgColor=00 bgColor=FF fontStyle=0 nesting=0 /
/Styles
/UserLang
/NotepadPlus

 articles on their Web site.  It's mostly free, with some items
 available to subscribers only.  It seems random, which ones
 they block, about 20%.

 Anywho, sometimes I use their search utility, the usual author
 or title search, and it blocks, then I look it up on Google, and
 link from there, and it loads!  ok, Web 

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread Martin Musatov
Thank you.
Martin Musatov

2009/7/9 Friðrik Már Jónsson frid...@pyth.net

 I'll be the first to admit it.  The point of writing a fake story by
 Associated Press and publishing it on a programming mailing list is totally
 beyond me.

 Confoundedly yours,
 Friðrik Már
-- 
http://mail.python.org/mailman/listinfo/python-list