# How to print first 12 numbers of the Padovan sequence using while loop

How to print first 12 numbers of the Padovan sequence using while loop in Java?

The result needs to be:

1, 1, 1, 2, 2, 3, 4, 5, 7, 9, 12, 16...

By: StackOverFlow - Thursday, 8 November

# Related Posts

- Older News
- Why does my list include numbers bigger than the while loop? StackOverFlow (Yesterday) - I created a while loop with break statements inside it to print some numbers and avoid others and it ended up printing a number bigger the the limit of my...
- How can user input a sequence of numbers into array// Java StackOverFlow (Yesterday) - so i've been trying to do this one thing which is letting user input his sequence number into array. I mean f.e. if he wanted to input 9901229976 and 9...
- How do I make a hollow star polygon in java using for loop? StackOverFlow (2 days ago) - I need help with this since I need to impress my siblings this Christmas using java. I only started last week and my knowledge about for loop is still vague.The...
- How to loop block of code in Java programming StackOverFlow (2 days ago) - I am writing code to display an array of numbers in ascending order. I have completed the first part which is the actual commands to get the array. The second...
- How can I get the printed 1 digit number rather than the original number I typed in? StackOverFlow (3 days ago) - Hello this is my first post, sorry if I asked this question wrong, however, I am also new to Java programming, I am trying to find the largest digit and...
- Java-calculating the sum of last two numbers in a line of x numbers StackOverFlow (3 days ago) - The input is a x number of numbers separated by spaces. It has to take the last 2 numbers and calculate their sum. I can only use scanner, int, boolean,...
- Checking if sequence is almost strictly in ascending order StackOverFlow (3 days ago) - This was part of my interview questions.Given a sequence of integers as an array, I have to determine whether it is possible to obtain a strictly increasing sequence by removing...