About 1,633,473 results (1,134 milliseconds)

Print the first n prime numbers

https://groups.google.com/g/blockly/c/JoVK1hopKGk
Jun 14, 2023 ... Am Mi., 14. Juni 2023 um 21:52 Uhr schrieb Andrey Ermack <[email protected]>: I need help creating code to be able to print the first n prime ...

Week 4 Day 1, C Exercises (Optional Challenge Problems)

https://colab.research.google.com/github/jamcoders/syllabus-resources-2023/blob/main/week4/labs/w4d1c.ipynb
Implement find_primes_up_to , which returns a list of all primes up to n . ... In our program, we represent this prime factorization as a list: [2, 1, 1] ...

Newb to Javascript, learning to populate a spreadsheet...

https://groups.google.com/g/google-apps-script-community/c/cZGrxGcoyAY
I'd like the script I write to populate my sheet in the manner I described, sequential prime numbers in 8 blocks of 3 columns with 84 rows per column. And ...

[ANN] primegen.go: Sieve of Atkin prime number generator

https://groups.google.com/g/golang-nuts/c/zRvkdfpeOY8
This will still likely be slightly slower than optimized C/C++ code for the reasons given in my last post, but not bad at all. It's too bad one can't disable ...

Basic Programming

https://sites.google.com/a/case.edu/hpcc/guides-and-training/helpful-references/programming/basic-programming--hpc
The equivalent code in C is primeNumbers.c and python is primeNumbers.py. In the python script (primeNumbers.py), create an error by replacing p ...

Fast Fizz Buzz program

https://groups.google.com/g/comp.lang.asm.x86/c/avLse_BYz1I
This code is written for x86_64 Linux and optimized to print numbers only up to 7 digits long. bash$ time ./asm-bitmask-mul > /dev/null real 0m0.010s user 0m0.

[9fans] Concurrency and message passing with Newsqueak

https://groups.google.com/g/comp.os.plan9/c/lREwq8_PUG4/m/BUQ0dfHtaXYJ
sys->print("%d\n", n); } } }. -- Kris Maglione. In any hierarchy, each ... ], all natural numbers >= 2. The prime sieve definition I like most is this ...

Learn_Python_in_2_hr.ipynb - Colab

https://colab.research.google.com/github/psrana/Learn-Python-in-2-hr/blob/main/Learn_Python_in_2_hr.ipynb
print (n," is odd"). Code cell output actions. Enter a No: 23 23 is odd ... Assingment 5.3: WAP to add all prime numbers from 1 to n and n is given by the user.

01_control_statements_solutions.ipynb - Colab

https://colab.research.google.com/github/kks32-courses/ce311k/blob/main/notebooks/lectures/01_control_flow/01_control_statements_solutions.ipynb
Below is a program for finding prime numbers that uses a break statement. ... N = 50 # Check numbers up 50 for primes (excludes 50) # Loop over all ...

1

https://groups.google.com/group/mgmcet_fe_2011-2012/attach/d6f106073fc2814c/question%20bank.doc?part=0.1
r1 and generate all prime numbers between r1 and r2. 5. Write a program to input data in an array carrying 25 elements. Compute the sum and. average. Then ...

Manobal sir - Chapter 9: Nested for Loops

https://sites.google.com/view/manobal-sir/icse-class-9/chapter-9-nested-for-loops
Write a program to calculate and display the factorials of all the numbers between 'm' and 'n' (where m<n, m>0, n>0). [Hint: factorial of 5 means: 5!=5*4*3 ...

STRANGE COMPILER ERROR PROSPERO FORTRAN CP/M-80

https://groups.google.com/g/comp.os.cpm/c/qzlFdIEgsno
I then created a directory C:\PROSPERO in Z80EMU and copied all the Prospero PRO Fortran v. ... N Source line numbers (for debugging, takes extra code space) I ...

mpz_probab_prime_p

https://groups.google.com/g/mpir-devel/c/_pp2WRgwrHk/m/0jJsAIn71s0J
primes' - and that this function returns a practical one - but still a prime. But in fact it might not be a prime at all :-) If we are going to use ...

Enhanced Primitive Support

https://groups.google.com/g/clojure/c/yMhQWVyRzBE
In order to write decently fast numeric code in Clojure up until now ... every time I write code that handles numbers. If I find that my code is too ...

Font size in Google Messages super tiny all of a sudden! Help ...

https://support.google.com/messages/thread/276732115/font-size-in-google-messages-super-tiny-all-of-a-sudden-help?hl=en
May 27, 2024 ... It even looks fine when I open up my messaging app "home" and I see the list of texts. But once I open up a particular text message thread, the ...

How to combine QUERY and SUM? - Google Docs Editors Community

https://support.google.com/docs/thread/129647326/how-to-combine-query-and-sum?hl=en
Oct 6, 2021 ... Then, when the data range for your QUERY is in columns B$2:C, you can only refer to those columns in your SELECT statement - you refer to ...

Program compression

https://groups.google.com/g/comp.programming/c/FiNIiSm5cJE/m/JkF5wa6Ke54J
this is essential. 2) The OS, drivers, and application code in the embedded firmware is all. C and we have no choice in that, unless we want ...

foreign language accents when writing Gmail using a laptop or ...

https://support.google.com/mail/thread/4190404/foreign-language-accents-when-writing-gmail-using-a-laptop-or-desktop-computer-not-a-phone?hl=en
Apr 14, 2019 ... and it only works when the virtual keyboard is showing in your window. Hope that does the trick for you. In gmail at least. I'm using Firefox on ...

02 Control statements.ipynb - Colab

https://colab.research.google.com/github/CambridgeEngineering/PartIA-Computing-Michaelmas/blob/main/02%20Control%20statements.ipynb
Below is a program for finding prime numbers that uses a break statement. ... N = 50 # Check numbers up 50 for primes (excludes 50) # Loop over all ...